import { RValueOrKey } from '../common/key';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
type __VLS_Props = {
/**
* Whether to display the table footer.
* Will be enabled automatically when the slot of any column is passed.
*/
footer?: boolean;
/**
* Whether to display the table header.
* @default true
*/
header?: boolean;
/**
* Row keys or data.
* See [List Rendering]{@link https://roughness.vercel.app/guide/specs#list-rendering}.
*/
rows: RValueOrKey[];
};
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
/** Content for the table. You can also add `
` or `` in addition to one or more TableColumn. */
default?: (props: {}) => any;
/** Alternative content for the table header. */
header?: (props: {}) => any;
/** Alternative content for the table body. This can be useful when you want to insert HTML content directly, such as when rendering from Markdown. */
body?: (props: {}) => any;
/** Alternative content for the table footer. */
footer?: (props: {}) => any;
}> & {
/** Content for the table. You can also add `` or `` in addition to one or more TableColumn. */
default?: (props: {}) => any;
/** Alternative content for the table header. */
header?: (props: {}) => any;
/** Alternative content for the table body. This can be useful when you want to insert HTML content directly, such as when rendering from Markdown. */
body?: (props: {}) => any;
/** Alternative content for the table footer. */
footer?: (props: {}) => any;
};
refs: {
head: HTMLTableSectionElement;
body: HTMLTableSectionElement;
foot: HTMLTableSectionElement;
};
rootEl: HTMLTableElement;
};
type __VLS_TemplateResult = ReturnType;
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
head: HTMLTableSectionElement;
body: HTMLTableSectionElement;
foot: HTMLTableSectionElement;
}, HTMLTableElement>;
declare const _default: __VLS_WithTemplateSlots;
export default _default;
type __VLS_WithTemplateSlots = T & {
new (): {
$slots: S;
};
};