/**
     * Generic CSS-subgrid datatable. Sticky header, pointer-driven column
     * resize, and optional `header` / `cell` / `empty` snippets for custom
     * rendering. Default cell rendering uses `column.format(value, row)` if
     * present, else `format_value`. Resize deltas are kept in component-local
     * state, keyed by `column.key` — they don't outlive the component.
     *
     * @module
     */
import type { Snippet } from 'svelte';
import { type DatatableColumn } from './datatable.js';
declare function $$render<T extends Record<string, any> = Record<string, any>>(): {
    props: import("svelte/elements").HTMLAttributes<HTMLDivElement> & {
        columns: Array<DatatableColumn<T>>;
        rows: Array<T>;
        /**
         * Row property used as the keyed-each key.
         * @default 'id'
         */
        row_key?: string & keyof T;
        /** CSS height for the scrollable region (e.g. `'400px'`). Omit to size to content. */
        height?: string;
        /** Override default header-cell rendering. Receives the column. */
        header?: Snippet<[column: DatatableColumn<T>]>;
        /** Override default cell rendering. Receives column, row, and the cell value. */
        cell?: Snippet<[column: DatatableColumn<T>, row: T, value: T[keyof T]]>;
        /** Rendered when `rows` is empty. Defaults to a `no data` text. */
        empty?: Snippet;
    };
    exports: {};
    bindings: "";
    slots: {};
    events: {};
};
declare class __sveltets_Render<T extends Record<string, any> = Record<string, any>> {
    props(): ReturnType<typeof $$render<T>>['props'];
    events(): ReturnType<typeof $$render<T>>['events'];
    slots(): ReturnType<typeof $$render<T>>['slots'];
    bindings(): "";
    exports(): {};
}
interface $$IsomorphicComponent {
    new <T extends Record<string, any> = Record<string, any>>(options: import('svelte').ComponentConstructorOptions<ReturnType<__sveltets_Render<T>['props']>>): import('svelte').SvelteComponent<ReturnType<__sveltets_Render<T>['props']>, ReturnType<__sveltets_Render<T>['events']>, ReturnType<__sveltets_Render<T>['slots']>> & {
        $$bindings?: ReturnType<__sveltets_Render<T>['bindings']>;
    } & ReturnType<__sveltets_Render<T>['exports']>;
    <T extends Record<string, any> = Record<string, any>>(internal: unknown, props: ReturnType<__sveltets_Render<T>['props']> & {}): ReturnType<__sveltets_Render<T>['exports']>;
    z_$$bindings?: ReturnType<__sveltets_Render<any>['bindings']>;
}
declare const Datatable: $$IsomorphicComponent;
type Datatable<T extends Record<string, any> = Record<string, any>> = InstanceType<typeof Datatable<T>>;
export default Datatable;
//# sourceMappingURL=Datatable.svelte.d.ts.map