| 63 | } |
| 64 | |
| 65 | export declare class Reference extends Query implements IReference { |
| 66 | readonly native: any; |
| 67 | readonly android: any; |
| 68 | readonly ios: any; |
| 69 | |
| 70 | readonly key: string; |
| 71 | readonly parent: Reference; |
| 72 | readonly ref: Reference; |
| 73 | readonly root: Reference; |
| 74 | |
| 75 | child(path: string): Reference; |
| 76 | |
| 77 | onDisconnect(): OnDisconnect; |
| 78 | |
| 79 | push(value?: any, onComplete?: () => void): IThenableReference; |
| 80 | |
| 81 | remove(onComplete?: (error: FirebaseError) => void): Promise<void>; |
| 82 | |
| 83 | set(value: any, onComplete?: (error: FirebaseError) => void): Promise<void>; |
| 84 | |
| 85 | setPriority(priority: string | number, onComplete?: (error: FirebaseError) => void): Promise<void>; |
| 86 | |
| 87 | setWithPriority(newVal: any, newPriority: string | number, onComplete?: (error: FirebaseError) => void): Promise<void>; |
| 88 | |
| 89 | transaction(transactionUpdate: (currentData: object) => object, onComplete?: (error: FirebaseError, committed: boolean, finalResult: any) => void, applyLocally: boolean = true): Promise<TransactionResult>; |
| 90 | |
| 91 | update(values: { [key: string]: any }, onComplete?: (error: FirebaseError) => void): Promise<void>; |
| 92 | } |
| 93 | |
| 94 | export declare class DataSnapshot implements IDataSnapshot { |
| 95 | readonly native: any; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…