import type { Snippet } from 'svelte'; import type { Component } from 'svelte'; export type AssetPickerView = 'grid' | 'list'; export interface PickerAsset { id: string; name: string; url?: string; type?: string; size?: string; modified?: string; folder?: string; disabled?: boolean; } interface AssetPickerPageProps { title?: string; description?: string; assets?: PickerAsset[]; selected?: string[]; multiple?: boolean; query?: string; view?: AssetPickerView; loading?: boolean; confirmLabel?: string; cancelLabel?: string; emptyTitle?: string; emptyDescription?: string; showSelectedBar?: boolean; class?: string; actions?: Snippet; emptyAction?: Snippet; onconfirm?: (ids: string[]) => void; oncancel?: () => void; onupload?: () => void; onquerychange?: (query: string) => void; onviewchange?: (view: AssetPickerView) => void; } declare const AssetPickerPage: Component; type AssetPickerPage = ReturnType; export default AssetPickerPage;