import React from 'react'; import type { TextPadding } from '@polotno/core/text-types'; type PaddingFields = Record; export declare const TEXT_PADDING_FIELDS: { readonly top: 'paddingTop'; readonly right: 'paddingRight'; readonly bottom: 'paddingBottom'; readonly left: 'paddingLeft'; }; export declare const CELL_PADDING_FIELDS: { readonly top: 'cellPaddingTop'; readonly right: 'cellPaddingRight'; readonly bottom: 'cellPaddingBottom'; readonly left: 'cellPaddingLeft'; }; export declare const cellPaddingSides: (el: { cellPaddingTop: number; cellPaddingRight: number; cellPaddingBottom: number; cellPaddingLeft: number; }) => TextPadding; export declare function paddingAttrs(sides: Partial, fields: PaddingFields): Record; export declare const PaddingControl: ({ label, value, onChange, disabled, }: { label: string; value: TextPadding; onChange: (sides: Partial) => void; disabled?: boolean; }) => React.JSX.Element; export {};