import { type Ref } from 'vue'; import type { KottiFieldText } from '../../kotti-field-text/types'; import type { KottiTable } from '../table/types'; import type { KottiStandardTable } from './types'; export type StandardTableContext = Ref<{ internal: { appliedFilters: KottiStandardTable.AppliedFilter[]; columnOrder: COLUMN_ID[]; columns: KottiTable.Column[]; filters: KottiStandardTable.FilterInternal[]; getFilter: (id: KottiStandardTable.FilterInternal['id']) => KottiStandardTable.FilterInternal | null; hasDragAndDrop: boolean; isLoading: boolean; options?: KottiStandardTable.Options; pageSizeOptions: number[]; pagination: { pageIndex: number; pageSize: number; }; rowCount: number | null; searchValue: KottiFieldText.ModelValue; selectMode: 'global' | 'single-page' | null; setAppliedFilters: (value: KottiStandardTable.AppliedFilter[]) => void; setColumnSelection: (value: COLUMN_ID[]) => void; setPageIndex: (value: number) => void; setPageSize: (value: number) => void; setSearchValue: (value: KottiFieldText.ModelValue) => void; }; }>; export declare const useProvideStandardTableContext: (id: string, standardTableContext: StandardTableContext) => void; export declare const useStandardTableContext: (id: string) => StandardTableContext;