import { Observable } from 'rxjs/Observable'; import { QueryToken } from '../../db'; import { LikeSchema } from '../../schemas/Like'; import { SDKFetch } from '../../SDKFetch'; import { SDK } from '../../SDK'; import { DetailObjectId, DetailObjectType } from 'teambition-types'; export declare function getLikeFetch(this: SDKFetch, objectType: DetailObjectType, objectId: DetailObjectId): Observable; declare module '../../SDKFetch' { interface SDKFetch { getLike: typeof getLikeFetch; } } export declare function getLike(this: SDK, objectType: DetailObjectType, objectId: DetailObjectId): QueryToken; declare module '../../SDK' { interface SDK { getLike: typeof getLike; } }