/**
 * @license
 * Copyright 2026 Amodal Labs, Inc.
 * SPDX-License-Identifier: MIT
 */
import type { DraftFile, PublishResult } from '@/lib/types';
export interface PublishDialogProps {
    /** The drafts that will be committed. */
    drafts: DraftFile[];
    /** Invoked on confirm. Returns null on failure. */
    onConfirm: (commitMessage: string) => Promise<PublishResult | null>;
    /** Invoked when the user cancels. */
    onCancel: () => void;
}
export declare function PublishDialog({ drafts, onConfirm, onCancel }: PublishDialogProps): import("react/jsx-runtime").JSX.Element;
