import { ErrorUnion, OkUnion } from '../outputs'; /** * Deletes a file from the TDLib file cache * @param {Object} params * @param {number} [params.fileId] - Identifier of the file to delete * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type DeleteFileMethod = (params: DeleteFileParams, state?: Record) => Promise; export interface DeleteFileParams { /** Identifier of the file to delete */ fileId?: number; }