import { An as MediaVisibility, tn as ShapioClient, yn as MediaAsset } from "./index-CK_22ZPr.js"; //#region src/node.d.ts export declare const mimeTypeOf: (path: string) => string | undefined; export type UploadFileInput = { /** The Shapio base URL the client was created with (Shapio's own upload route is reached through it). */ baseUrl: string; path: string; /** Defaults to the file's name. */ filename?: string; /** Defaults to the type for the file's extension. */ mimeType?: string; folderId?: string | null; visibility?: MediaVisibility; /** Defaults to the global fetch. */ fetch?: typeof globalThis.fetch; }; /** * Uploads a file from disk into the media library: asks for a grant, sends the bytes to the grant's URL * (Shapio's upload route or a bucket's presigned POST), then confirms. Returns the new asset. */ export declare const uploadFile: (client: ShapioClient, input: UploadFileInput) => Promise; //#endregion //# sourceMappingURL=node.d.ts.map