import type { LaunchReadiness } from "@riverbankcms/api/launch-readiness";
import type { PreviewConfirmationDialogState } from "./PreviewConfirmationDialog";
type ResendFeedback = Readonly<{
    kind: "success" | "error";
    message: string;
}> | null;
export declare function useOnboardingConfirmationCheck(input: Readonly<{
    authMode: "onboardingGrant" | null;
    dashboardBaseUrl: string | null;
    previewToken: string | null;
    siteId: string | null;
    shouldLoadStatus: boolean;
}>): {
    readonly checkConfirmation: () => Promise<void>;
    readonly closeDialog: () => void;
    readonly dashboardContinueUrl: string | null;
    readonly dashboardUnlocked: boolean;
    readonly dialogState: PreviewConfirmationDialogState;
    readonly hasLoadedStatus: boolean;
    readonly isCheckingConfirmation: boolean;
    readonly isResendingConfirmation: boolean;
    readonly launchReadiness: LaunchReadiness;
    readonly resendConfirmation: () => Promise<void>;
    readonly resendFeedback: ResendFeedback;
    readonly statusLoadFailed: boolean;
};
export {};
