import type { AnyObject } from "prostgles-types"; import type { LocalParams, Media } from "./DboBuilder"; import type { ValidateRowBasic } from "../PublishParser/PublishParser"; import type { TableHandler } from "./TableHandler/TableHandler"; export declare const isFile: (row: any) => row is { data: Buffer; name: string; }; type UploadFileArgs = { row: AnyObject; validate: ValidateRowBasic | undefined; localParams: LocalParams | undefined; /** * Used to update an existing file */ mediaId?: string; }; export declare function uploadFile(this: TableHandler, { row, localParams, validate, mediaId }: UploadFileArgs): Promise; export {}; //# sourceMappingURL=uploadFile.d.ts.map