import { type Token } from "../core.js"; import { type FolderRef } from "../refs.js"; import type { FolderHandle } from "./folder.js"; export type FileSpec = { /** Path to the file's content (read + uploaded on deploy). */ path: string; name?: string; folder?: FolderHandle | FolderRef; }; export type FileHandle = { readonly slug: string; readonly uuid: Token; }; export declare function defineFile(slug: string, spec: FileSpec): FileHandle; //# sourceMappingURL=file.d.ts.map