export interface ProdDebugInput {
    target: string;
    app?: string;
    profile?: string;
    actor?: string;
    reason?: string;
    supportUrl?: string;
    supportGrantId?: string;
    ttlMinutes?: number;
    includeBrowser?: boolean;
    includeLogs?: boolean;
    allowWrites?: boolean;
}
export interface ProdDebugAppProfile {
    name?: string;
    origins?: string[];
    supportUrl?: string;
    supportUrlRef?: string;
    supportUrlTemplate?: string;
    supportGrantId?: string;
    supportGrantRef?: string;
    piiOrigin?: string;
    logCommand?: string;
}
export interface ProdDebugConfig {
    defaultProfile?: string;
    apps?: Record<string, ProdDebugAppProfile>;
}
export interface ProdDebugIdentifiers {
    url: string | null;
    origin: string | null;
    orgSlug: string | null;
    projectRef: string | null;
    sessionId: string | null;
    agentId: string | null;
    requestId: string | null;
    rawId: string | null;
}
export interface ProdDebugCheck {
    id: string;
    status: "ready" | "blocked";
    description: string;
    command?: string;
    reason?: string;
}
export interface ProdDebugPlan {
    target: ProdDebugIdentifiers;
    app: string;
    actor: string;
    reason: string;
    ttlMinutes: number;
    setup: {
        profile: string | null;
        matchedOrigin: string | null;
        configured: {
            supportUrl: boolean;
            supportGrant: boolean;
            piiOrigin: boolean;
            logCommand: boolean;
        };
        missing: string[];
    };
    supportAccess: {
        required: boolean;
        grantId: string | null;
        browserReady: boolean;
        note: string;
    };
    safety: string[];
    checks: ProdDebugCheck[];
    blocked: string[];
}
export declare function redactProdDebugText(value: string): string;
export declare function parseProdDebugTarget(target: string): ProdDebugIdentifiers;
export declare function createProdDebugPlan(input: ProdDebugInput, config?: ProdDebugConfig): ProdDebugPlan;
export declare function formatProdDebugPlan(plan: ProdDebugPlan): string;
//# sourceMappingURL=prod-debug.d.ts.map