/// <reference types="react" />
import { CellContext } from '@tanstack/react-table';
import { CustomColumn, TableAction } from '@bcrumbs.net/bc-ui';
import { ResourceDefinition } from '../../managemnet/config/types';
interface GetResourceColumnsParams {
    resourceDef: ResourceDefinition<any>;
    onSortChange?: (field: string) => void;
    customHeaderProps?: any;
    customRowProps?: any;
    otherActions?: TableAction[];
    handlePatchResource?: (row: CellContext<any, any>) => void;
    handleDeleteResource?: (row: CellContext<any, any>) => void;
    handleArchiveResource?: (row: CellContext<any, any>) => void;
    handleUnArchiveResource?: (row: CellContext<any, any>) => void;
    currentSortField?: string;
    currentSortDirection?: 'asc' | 'desc';
    /** 🔹 NEW: custom cell renderers by field name */
    customCells?: Record<string, (info: CellContext<any, any>) => React.ReactNode>;
}
export declare const useResourceColumns: ({ resourceDef, onSortChange, customHeaderProps, customRowProps, otherActions, handlePatchResource, handleArchiveResource, handleUnArchiveResource, handleDeleteResource, currentSortField, currentSortDirection, customCells, }: GetResourceColumnsParams) => {
    columns: CustomColumn[];
    actions: TableAction[];
};
export {};
