import React from 'react';
import type { TableNode } from '../../ricos-schema/next-schema/index.js';
import type { BorderPadding, CellBorders, ResolvedBordersMap } from './resolve-cell-borders.js';
interface TableBordersContextValue {
    borders: ResolvedBordersMap;
    cellSpacing: number;
    isRTL: boolean;
    borderPadding: BorderPadding;
}
interface TableBordersProviderProps {
    tableNode: TableNode;
    isRTL: boolean;
    children: React.ReactNode;
}
export declare const TableBordersProvider: React.FC<TableBordersProviderProps>;
export declare function useCellBorders(cellId: string): CellBorders | null;
export declare function useTableBordersContext(): TableBordersContextValue | null;
export {};
//# sourceMappingURL=table-borders-context.d.ts.map