export type QiConnectorErrorCode = "QI_BAD_REQUEST" | "QI_CONNECTOR_DISABLED" | "QI_FORBIDDEN_PAYLOAD" | "QI_INVALID_ENVELOPE_SELECTION" | "QI_INTERNAL";
export interface QiConnectorErrorBody {
    readonly error: {
        readonly code: QiConnectorErrorCode;
        readonly message: string;
    };
}
export declare const qiConnectorErrorBody: (code: QiConnectorErrorCode) => QiConnectorErrorBody;
export declare const containsForbiddenSecretShape: (value: string) => boolean;
/**
 * Scan a plain-object payload's string values (one level deep) for credential-shaped
 * substrings. Returns true if any value matches. Used by the dry-run routes BEFORE the
 * payload is even processed so a leaky client gets a 400 with a generic message.
 */
export declare const payloadContainsForbiddenSecretShape: (payload: Readonly<Record<string, unknown>>) => boolean;
//# sourceMappingURL=connectorErrors.d.ts.map