import { type ProviderDiagnostic } from "@earendil-works/pi-ai";
import { type EngineTrustActionId } from "./actions.ts";
import type { ENGINE_TRUST_FALLBACK_REASONS } from "./marker.ts";
type FallbackReason = (typeof ENGINE_TRUST_FALLBACK_REASONS)[number];
export interface TransportTrustFailure {
    readonly code: "trust-tls-failed-under-fallback";
    readonly reason: FallbackReason;
    readonly action: EngineTrustActionId;
}
export declare function transportTrustFailure(diagnostic: ProviderDiagnostic | undefined): TransportTrustFailure | undefined;
export {};
//# sourceMappingURL=transport-failure.d.ts.map