/** * A utility composable providing core logic for flattening complex nested object rows, * resolving deeply nested dot-notation object paths, auto-detecting array or foreign key relations, * and formatting cell values for rendering inside the main data table view. * @example * ```ts * const { flattenKeys, getColumnValue, formatCellValue } = useNctTableFormat() * const row = { id: 1, user: { profile: { firstName: 'John' } } } * const columns = flattenKeys(row) // ['id', 'user.profile.firstName'] * const value = getColumnValue(row, 'user.profile.firstName') // 'John' * ``` * @returns An object containing table formatting, row flattening, and relationship detection helpers. */ export declare function useNctTableFormat(): { formatCellValue: (value: unknown) => unknown; getColumnValue: (row: Record, path: string) => unknown; flattenKeys: (row: Record, prefix?: string) => string[]; getArrayColumns: (row: Record) => string[]; getForeignKeyColumns: (row: Record) => string[]; getParentBackReferenceColumns: (childRow: Record, parentRow: Record) => string[]; };