import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { Header } from '@tanstack/vue-table'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { sortId: string; schemaDrivenHeader: undefined; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly, { sortId: string; schemaDrivenHeader: undefined; }>>> & Readonly<{}>, { sortId: string; schemaDrivenHeader: Header; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: {}): any; }>; export default _default; /** * The SortValue with its leading hyphen/dash removed */ declare type SortId = string; /** * Determined by whether or not there is a leading hyphen/dash in the SortValue */ declare type SortOrder = 'asc' | 'desc'; /** * A deserialized instance of a `SortValue`. */ declare type SortValueDeserialized = { id: SortId; order: SortOrder; }; export declare interface TableHeaderCellProps { /** * A unique value correlated to the data in this header's column (without a leading hyphen/dash). * For example: `'product_name'` (with no leading dash/hyphen). */ sortId?: SortValueDeserialized['id']; /** * TanStack header instance passed when Table is in schema-driven mode. * When provided, sorting is controlled by TanStack instead of DataView. * Typed as any so DataTable can pass Header without a type assertion. */ schemaDrivenHeader?: Header; } export { }