import { type GridState } from '../../core/grid/index.js'; import { type CellValuePurpose, type CellValueReader, type ColumnDef, type GridFeature } from '../../core/types/index.js'; import type { PolicyOptions, PolicyRule } from './policy.types.js'; export declare class Policy { #private; constructor(grid: GridState, options: PolicyOptions); get rules(): PolicyRule[]; get guarded(): string[]; isGuarded: (columnId: string) => boolean; valueFor: (value: unknown, row: TRow | null, columnId: string, purpose: CellValuePurpose) => unknown; reader: (columnId: string, purpose: CellValuePurpose) => CellValueReader | undefined; readValue: (row: TRow, column: ColumnDef) => unknown; warnOnOpenDoors: () => void; } export declare function getPolicy(grid: GridState): Policy | undefined; export declare function policy(options: PolicyOptions): GridFeature;