import { Size } from '../../utils/UNSAFE_size';
/**
 * Props of the FormContext
 */
type FormContextProps = {
    /**
     * Indicates whether the form layout is disabled.
     */
    isDisabled?: boolean;
    /**
     * Indicates whether the component is inside a form layout.
     */
    isFormLayout?: boolean;
    /**
     * Indicates whether the form layout is readonly.
     */
    isReadonly?: boolean;
    /**
     * Specifies the label position.
     */
    labelEdge?: 'inside' | 'start' | 'top';
    /**
     * Specifies the width of the start aligned label, ignored for top & inside aligned.
     */
    labelStartWidth?: Size;
    /**
     * Specifies if start or top label text should wrap or truncate.
     * @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
     */
    labelWrapping?: 'truncate' | 'wrap';
    /**
     * Specifies the text alignment of the value.
     */
    textAlign?: 'start' | 'end' | 'right';
    /**
     * Specifies the density of the user assistance presentation.
     */
    userAssistanceDensity?: 'reflow' | 'efficient' | 'compact';
};
declare const DefaultFormContext: FormContextProps;
/**
 * Context which the parent component can use to provide various FormLayout related
 * information to descendant form controls.
 */
declare const FormContext: import("preact").Context<FormContextProps>;
export { DefaultFormContext, FormContext };
export type { FormContextProps };
