export type HarnessReceiverBoundary = "input" | "contract" | "governance" | "scope" | "source";
export type HarnessReceiverErrorCode = "MISSING_RECEIVER_ID" | "MISSING_HARNESS_ID" | "MISSING_SIGNAL" | "MISSING_PROVIDER_ID" | "MISSING_SOURCE" | "EMPTY_CAPABILITY_SIGNAL" | "SOURCE_DENIED" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SCOPE_DENIED";
export type HarnessReceiverGate = {
    accepted: boolean;
    reason?: string;
};
export type HarnessOutputInterfaceSignal = {
    interfaceId?: string;
    modality?: string;
    channels?: readonly string[];
    scopes?: readonly string[];
};
export type HarnessCapabilitySignal = {
    providerId?: string;
    modelId?: string;
    source?: "provider-carrier" | "custom-format" | "runtime-model-adapter" | string;
    capabilities?: readonly string[];
    outputInterfaces?: readonly HarnessOutputInterfaceSignal[];
    scopes?: readonly string[];
    formatHints?: readonly string[];
    rawShapeRef?: string;
};
export type HarnessReceiverRequest = {
    receiverId?: string;
    harnessId?: string;
    runtimeId?: string;
    signal?: HarnessCapabilitySignal;
    allowedSources?: readonly string[];
    requestedScopes?: readonly string[];
    allowedScopes?: readonly string[];
    contract?: HarnessReceiverGate;
    governance?: HarnessReceiverGate;
};
export type HarnessReceiverError = {
    code: HarnessReceiverErrorCode;
    message: string;
    boundary: HarnessReceiverBoundary;
    safeForRuntimeInspection: true;
    providerRawShapeExposed: false;
};
export type HarnessReceivedInterface = {
    interfaceId: string;
    modality: string;
    channels: readonly string[];
    scopes: readonly string[];
};
export type HarnessReceivedModelInterface = {
    kind: "harness-receiver-interface";
    receiverId: string;
    harnessId: string;
    runtimeId?: string;
    providerId: string;
    modelId?: string;
    source: string;
    capabilities: readonly string[];
    outputInterfaces: readonly HarnessReceivedInterface[];
    scopes: readonly string[];
    formatHints: readonly string[];
    rawShapeRef?: string;
    providerRawShapeExposed: false;
    networkCalled: false;
    providerCallPlanned: false;
    unsafeSideEffects: false;
};
export type HarnessReceiverResult = {
    ok: true;
    received: HarnessReceivedModelInterface;
    events: readonly string[];
} | {
    ok: false;
    error: HarnessReceiverError;
    events: readonly string[];
};
export declare const harnessReceiverInterfaceDescriptor: {
    readonly capability: "harness-receiver-interface";
    readonly route: "agent_modelAdapter.abstractionLayer";
    readonly purpose: "receive provider or custom-format capability signals into a provider-neutral abstraction envelope";
    readonly providerRawShapeExposed: false;
    readonly networkCalled: false;
    readonly unsafeSideEffects: false;
};
export declare function receiveHarnessReceiverInterface(request?: HarnessReceiverRequest): HarnessReceiverResult;
