import type { EditorPost } from '../../lib/post-editor-service.js';
/**
 * The slice of a collection's field config the modal reads to pick controls:
 * a `select` category renders a dropdown (structured vocabulary), an `array`
 * tags field renders the chip input with autocomplete.
 */
export interface PostFieldConfig {
    type?: string;
    options?: Array<{
        label: string;
        value: string;
    }>;
    maxRows?: number;
}
interface PostFieldsModalProps {
    open: boolean;
    post: EditorPost;
    canEdit: boolean;
    /** Field definitions from the post type's collection config. */
    fields?: Record<string, PostFieldConfig | undefined>;
    onClose: () => void;
    onSave: (patch: Partial<EditorPost>) => void;
}
/** Edits post-level fields: title, slug, excerpt, featured image, category, tags, body, SEO. */
export declare function PostFieldsModal({ open, post, canEdit, fields, onClose, onSave, }: PostFieldsModalProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=PostFieldsModal.d.ts.map