/**
 * Resolve the dedicated checkout route for the current site render surface.
 *
 * Published sites use `/checkout`. Internal published previews keep the
 * preview prefix so cart flows stay on the same surface.
 */
export type DedicatedCheckoutTarget = Readonly<{
    kind: 'public';
}> | Readonly<{
    kind: 'internal_published_preview';
    hostKey: string;
    siteIdentifier: string;
}>;
export declare function resolveDedicatedCheckoutTarget(pathname: string): DedicatedCheckoutTarget;
export declare function resolveDedicatedCheckoutPath(pathname: string): string;
