| 20 | } |
| 21 | |
| 22 | export declare class Query implements IQuery { |
| 23 | readonly native: any; |
| 24 | readonly android: any; |
| 25 | readonly ios: any; |
| 26 | |
| 27 | get ref(): Reference; |
| 28 | |
| 29 | endAt(value: string | number | boolean, key?: string): Query; |
| 30 | |
| 31 | equalTo(value: string | number | boolean, key?: string): Query; |
| 32 | |
| 33 | keepSynced(bool: boolean); |
| 34 | |
| 35 | limitToFirst(limit: number): Query; |
| 36 | |
| 37 | limitToLast(limit: number): Query; |
| 38 | |
| 39 | off(eventType?: EventType, callback?: (a: DataSnapshot, b: string) => void, context?: Record<string, any>): void; |
| 40 | |
| 41 | on(eventType: EventType, callback: (data: DataSnapshot, previousChildKey: string) => void, cancelCallbackOrContext?: (a: FirebaseError) => void | Record<string, any>, context?: Record<string, any>): (a: DataSnapshot, b: string) => void; |
| 42 | |
| 43 | once(eventType: EventType, successCallback?: (a: DataSnapshot, b: string) => any, failureCallbackContext?: (a: FirebaseError) => void | Record<string, any>): Promise<DataSnapshot>; |
| 44 | |
| 45 | orderByChild(path: string): Query; |
| 46 | |
| 47 | orderByKey(): Query; |
| 48 | |
| 49 | orderByPriority(): Query; |
| 50 | |
| 51 | orderByValue(): Query; |
| 52 | |
| 53 | startAt(value: string | number | boolean, key?: string): Query; |
| 54 | } |
| 55 | |
| 56 | export declare class ServerValue { |
| 57 | readonly native: any; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…