import { type ComponentPropsWithoutRef } from 'react';
import { Caption as CaptionPrimitive, CaptionTextarea as CaptionTextareaPrimitive } from '@platejs/caption/react';
import { type VariantProps } from 'class-variance-authority';
declare const captionVariants: (props?: ({
    align?: "center" | "left" | "right" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type CaptionProps = ComponentPropsWithoutRef<typeof CaptionPrimitive> & VariantProps<typeof captionVariants>;
export declare function Caption({ align, className, ...props }: CaptionProps): import("react/jsx-runtime").JSX.Element;
export declare function CaptionTextarea(props: ComponentPropsWithoutRef<typeof CaptionTextareaPrimitive>): import("react/jsx-runtime").JSX.Element;
export {};
