import { type Snippet } from 'svelte'; import type { DataTableController } from './DataTableController.js'; import type { CollectionToolbarDataSurfaceOptions } from './types.js'; export interface Props { search?: string; searchLabel?: string; searchPlaceholder?: string; view?: 'list' | 'grid' | 'table'; views?: Array<'list' | 'grid' | 'table'>; resultCount?: number; selectedCount?: number; filters?: Snippet; actions?: Snippet; bulkActions?: Snippet; onsearchchange?: (value: string) => void; onviewchange?: (view: 'list' | 'grid' | 'table') => void; /** Shares search state with a DataTable controller when supplied. */ controller?: DataTableController; /** Registers this toolbar only when explicitly supplied. */ dataSurface?: CollectionToolbarDataSurfaceOptions; class?: string; } declare const CollectionToolbar: import("svelte").Component; type CollectionToolbar = ReturnType; export default CollectionToolbar; //# sourceMappingURL=CollectionToolbar.svelte.d.ts.map