import { DashboardResource, EphemeralDashboardResource } from '@perses-dev/core'; import { ReactElement, ReactNode } from 'react'; import type { BlockerFunction } from '@remix-run/router'; export interface LeaveDialogProps { isBlocked: BlockerFunction | boolean; message: string; } export declare function Prompt({ isBlocked, message }: LeaveDialogProps): ReactElement; export declare function LeaveDialog({ original, current, }: { original: DashboardResource | EphemeralDashboardResource | undefined; current: DashboardResource | EphemeralDashboardResource; }): ReactNode; //# sourceMappingURL=LeaveDialog.d.ts.map