export interface CreateAssetModalProps { /** Whether the modal is open */ open: boolean; /** Pre-loaded file (from paste or drag) */ initialFile?: File | null; /** Callback when creation is complete. May be async; a rejection keeps the * form populated and surfaces an error instead of clearing silently. */ oncreate: (data: { file: File; name: string; description: string; altText: string; }) => void | Promise; /** Callback when modal is closed */ onclose: () => void; } declare const CreateAssetModal: import("svelte").Component; type CreateAssetModal = ReturnType; export default CreateAssetModal; //# sourceMappingURL=CreateAssetModal.svelte.d.ts.map