import { type GridState } from '../../core/grid/index.js'; import type { GridFeature, RowNode, RowPinSide } from '../../core/types/index.js'; import type { RowPinningOptions } from './row-pinning.types.js'; export declare class RowPinning { #private; pinnedOverrides: Record; constructor(grid: GridState, options: RowPinningOptions); sideOf(node: RowNode): RowPinSide | null; topNodes: RowNode[]; bottomNodes: RowNode[]; pinnedCount: number; pinRow: (id: string, side: RowPinSide | null) => void; getPinnedRows: () => { top: TRow[]; bottom: TRow[]; }; } export declare function rowPinning(options?: RowPinningOptions): GridFeature; export declare function getRowPinning(grid: GridState): RowPinning | undefined; declare module '../../core/types/api.js' { interface GridApi { pinRow?: (id: string, side: RowPinSide | null) => void; getPinnedRows?: () => { top: unknown[]; bottom: unknown[]; }; } }