import { type RowData, type TableOptions } from "@tanstack/table-core"; /** * Creates a reactive TanStack table object for Svelte. * @param options Table options to create the table with. * @returns A reactive table object. * @example * ```svelte * * * * * {#each table.getHeaderGroups() as headerGroup} * * {#each headerGroup.headers as header} * * {/each} * * {/each} * * *
* *
* ``` */ export declare function createSvelteTable(options: TableOptions): import("@tanstack/table-core").Table; type MaybeThunk = T | (() => T | null | undefined); type Intersection = (T extends [infer H, ...infer R] ? H & Intersection : unknown) & {}; /** * Lazily merges several objects (or thunks) while preserving * getter semantics from every source. * * Proxy-based to avoid known WebKit recursion issue. */ export declare function mergeObjects[]>(...sources: Sources): Intersection<{ [K in keyof Sources]: Sources[K]; }>; export {};