import { Observable } from 'rxjs/Observable'; import { QueryToken } from '../../db'; import { SDK } from '../../SDK'; import { SDKFetch } from '../../SDKFetch'; import { FileSchema } from '../../schemas/File'; import { FileId } from 'teambition-types'; export declare function getFileFetch(this: SDKFetch, fileId: FileId, query?: any): Observable; declare module '../../SDKFetch' { interface SDKFetch { getFile: typeof getFileFetch; } } export declare function getFile(this: SDK, fileId: FileId, query?: any): QueryToken; declare module '../../SDK' { interface SDK { getFile: typeof getFile; } }