import type { CheckoutButton, CheckoutConfig, QuitModalButton } from '@crystaldesign/web-planner-logic';
import type DivaViewHandler from '../../../../model/DivaViewHandler';
export declare function getQuitModalButton(checkout?: CheckoutConfig): QuitModalButton | undefined;
export declare function isQuitCloseButton(b: CheckoutButton): boolean;
/** Secondary action: exit without running the primary save path (matches legacy confirm-close). */
export declare function performExitWithoutPrimary(viewHandler: DivaViewHandler, closeButtonConfig: CheckoutButton | undefined, context: 'header' | 'tab'): void;
//# sourceMappingURL=quitModalFlow.d.ts.map