export type AthenaTableSortValue = boolean | Date | number | string | null; export type AthenaTableSortStrategyName = "auto" | "alphabetical" | "string" | "numeric" | "datetime" | "unix_ms" | "unix_s" | "boolean" | "custom_order"; export type AthenaTableSortNulls = "first" | "last"; export interface AthenaTableSortStrategyConfig { /** * Ordered list of string values for `custom_order` strategy * (earlier entries sort before later ones in ascending mode). */ customOrder?: readonly string[]; /** Locale used by string/alphabetical comparisons. */ locale?: string; nulls?: AthenaTableSortNulls; /** * When true, string compares use numeric collation (default for alphabetical/string). */ numeric?: boolean; strategy?: AthenaTableSortStrategyName; } export type AthenaTableSortStrategy = AthenaTableSortStrategyName | AthenaTableSortStrategyConfig; /** * Smart default compare used by `auto` and as a fallback for other strategies. */ export declare function compareSortValues(leftValue: AthenaTableSortValue | undefined, rightValue: AthenaTableSortValue | undefined, strategyInput?: AthenaTableSortStrategy): number; export declare function resolveColumnSortValueFromRow(row: unknown, columnId: string, valueKey?: string): AthenaTableSortValue | undefined;