import { DiffChangeKind, DiffTableAlign, DiffTableColumn, DiffTableEmits, DiffTablePlay, DiffTableProps, DiffTableRow } from './src/types'; import { default as TxDiffTable } from './src/TxDiffTable.vue'; declare const DiffTable: ((__VLS_props: NonNullable>["props"], __VLS_ctx?: { slots: Readonly<{ [key: `cell-${string}`]: (props: { row: DiffTableRow; column: DiffTableColumn; value: any; change: DiffChangeKind; index: number; }) => any; title?: () => any; hint?: () => any; footer?: (props: { counts: import('./src/types').DiffTableCounts; accepted: (string | number)[]; }) => any; }> & { [key: `cell-${string}`]: (props: { row: DiffTableRow; column: DiffTableColumn; value: any; change: DiffChangeKind; index: number; }) => any; title?: () => any; hint?: () => any; footer?: (props: { counts: import('./src/types').DiffTableCounts; accepted: (string | number)[]; }) => any; }; attrs: any; emit: DiffTableEmits; }, __VLS_expose?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: { readonly onToggle?: ((payload: { key: string | number; accepted: boolean; }) => any) | undefined; readonly "onUpdate:modelValue"?: ((keys: (string | number)[]) => any) | undefined; readonly onSettled?: (() => any) | undefined; readonly onApply?: ((keys: (string | number)[]) => any) | undefined; readonly onStageChange?: ((stage: number) => any) | undefined; columns: DiffTableColumn[]; rows: DiffTableRow[]; title?: string | undefined; play?: DiffTablePlay | undefined; stageDelays?: [number, number, number] | undefined; duration?: number | undefined; selectable?: boolean | undefined; modelValue?: (string | number)[] | undefined; footer?: boolean | undefined; hint?: string | undefined; summaryFormatter?: ((counts: import('./src/types').DiffTableCounts) => string) | undefined; applyLabelFormatter?: ((count: number) => string) | undefined; rowToggleLabelFormatter?: ((accepted: boolean, change: DiffChangeKind) => string) | undefined; } & import('vue').PublicProps; expose(exposed: import('vue').ShallowUnwrapRef<{ play: () => void; reset: () => void; settle: () => void; stage: import('vue').Ref; }>): void; attrs: any; slots: Readonly<{ [key: `cell-${string}`]: (props: { row: DiffTableRow; column: DiffTableColumn; value: any; change: DiffChangeKind; index: number; }) => any; title?: () => any; hint?: () => any; footer?: (props: { counts: import('./src/types').DiffTableCounts; accepted: (string | number)[]; }) => any; }> & { [key: `cell-${string}`]: (props: { row: DiffTableRow; column: DiffTableColumn; value: any; change: DiffChangeKind; index: number; }) => any; title?: () => any; hint?: () => any; footer?: (props: { counts: import('./src/types').DiffTableCounts; accepted: (string | number)[]; }) => any; }; emit: DiffTableEmits; }>) => import('vue').VNode & { __ctx?: Awaited; }) & import('vue').Plugin; export { DiffTable, TxDiffTable }; export type { DiffChangeKind, DiffTableAlign, DiffTableColumn, DiffTableEmits, DiffTablePlay, DiffTableProps, DiffTableRow, }; /** * Imperative surface of {@link TxDiffTable}. * * Written out rather than derived from `InstanceType`: the component is * generic, and `vue-tsc` reports an exposed ref by its unwrapped type, so * `stage` is a `number` here and not a `Ref`. * * @public */ export interface TxDiffTableInstance { /** Runs the sequence from wherever it currently rests. */ play: () => void; /** Returns to the plain table and stops any pending stage. */ reset: () => void; /** Jumps straight to the completed diff. */ settle: () => void; /** Current stage index; `stageDelays.length` once settled. */ stage: number; } export default DiffTable;