import type { FactoryPayload } from '../../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' import type { EmotionSx } from '@mantine/emotion' import type { EmotionStyles } from '../emotion/index.mjs' import type { ShadingColor } from '../theme/colors.mjs' import type { Color } from '../theme/theme.mjs' declare module '../../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } declare module '@mantine/core' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } import { MRT_TableInstance, MRT_TableOptions, MRT_RowData } from 'mantine-react-table'; import { BoxProps } from '../../../primitive/index.mjs'; import { TablePaginationProps } from '../TablePagination.mjs'; type Prettify = { [K in keyof T]: T[K]; } & unknown; type Xor = Prettify | Prettify; export type TableInstanceProp = { table: MRT_TableInstance; }; export interface ProTableExtraProps { withBorder?: boolean; emptyMessage?: string; errorMessage?: string; loading?: boolean; pagination?: TablePaginationProps; wrapperProps?: BoxProps; } export interface ProTableOptions = {}> extends MRT_TableOptions, ProTableExtraProps { } export type ProTableProps = Xor, ProTableOptions>; export {};