import { ErrorUnion, FileUnion } from '../outputs'; /** * Returns information about a file; this is an offline request * @param {Object} params * @param {number} [params.fileId] - Identifier of the file to get * @param {Object} state * @returns {FileUnion | ErrorUnion} */ export declare type GetFileMethod = (params: GetFileParams, state?: Record) => Promise; export interface GetFileParams { /** Identifier of the file to get */ fileId?: number; }