/** * ```js * import { getFile } from '@amityco/ts-sdk' * const file = await getFile('foo') * ``` * * Fetches a {@link Amity.File} object * * @param fileId the ID of the {@link Amity.File} to fetch * @returns the associated {@link Amity.File} object * * @category File API * @async */ export declare const getFile: { (fileId: Amity.File['fileId']): Promise>; /** * ```js * import { getFile } from '@amityco/ts-sdk' * const file = getFile.locally('foo') * ``` * * Fetches a {@link Amity.File} object from cache * * @param fileId the ID of the {@link Amity.File} to fetch * @returns the associated {@link Amity.File} object * * @category File API */ locally(fileId: Amity.File['fileId']): Amity.Cached | undefined; }; //# sourceMappingURL=getFile.d.ts.map