import { Observable } from 'rxjs/Observable'; import { QueryToken } from '../../db'; import { SDKFetch } from '../../SDKFetch'; import { SDK } from '../../SDK'; import { TaskSchema } from '../../schemas/Task'; import { TaskId } from 'teambition-types'; export declare function getTaskFetch(this: SDKFetch, taskId: TaskId, query?: any): Observable; declare module '../../SDKFetch' { interface SDKFetch { getTask: typeof getTaskFetch; } } export declare function getTask(this: SDK, taskId: TaskId, query?: any): QueryToken; declare module '../../SDK' { interface SDK { getTask: typeof getTask; } }