export type MpInvocationBoundary = "input" | "contract" | "governance" | "scope" | "runtime-state";
export type MpInvocationSource = "mainLoop" | "stateEngine" | "officialModuleBridge" | "runtime.execEngine" | "runtime.officialModuleSurface";
export type MpInvocationGate = {
    accepted: boolean;
    reason?: string;
};
export type MpInvocationTrace = {
    correlationId?: string;
    callerId?: string;
};
export type MpInvocationRequest = {
    runtimeId?: string;
    sessionId?: string;
    invocationId?: string;
    source?: MpInvocationSource;
    operation?: string;
    callContext?: Readonly<Record<string, unknown>>;
    governanceContext?: readonly string[];
    requestedSubscribers?: readonly string[];
    allowedSubscribers?: readonly string[];
    runtimeReady?: boolean;
    contract?: MpInvocationGate;
    governance?: MpInvocationGate;
    trace?: MpInvocationTrace;
    emittedAt?: string;
    metadata?: Readonly<Record<string, unknown>>;
};
export type MpInvocationErrorCode = "MISSING_RUNTIME_ID" | "MISSING_SESSION_ID" | "MISSING_INVOCATION_ID" | "MISSING_EVENT_SOURCE" | "MISSING_OPERATION" | "RUNTIME_NOT_READY" | "CONTRACT_REJECTED" | "GOVERNANCE_REJECTED" | "SUBSCRIBER_SCOPE_DENIED";
export type MpInvocationError = {
    code: MpInvocationErrorCode;
    message: string;
    boundary: MpInvocationBoundary;
    safeForRuntimeInspection: true;
    internalDetailExposed: false;
};
export type MpInvocationEvent = {
    type: "officialPoolInvocation.mp.requested";
    runtimeId: string;
    sessionId: string;
    invocationId: string;
    route: "agent_executionEngine.coreLogic.eventExposurePlane.officialPoolInvocation";
    source: MpInvocationSource;
    officialModule: {
        name: "MP";
        operation: string;
        resultEnvelope: "not-executed";
    };
    payload: {
        callContextKeys: readonly string[];
        governanceContext: readonly string[];
    };
    trace: MpInvocationTrace;
    emittedAt: string;
    contractSurface: "runtime.contractSurface";
    governanceRequired: true;
    dryRun: true;
    unsafeSideEffects: false;
    metadata: Readonly<Record<string, unknown>>;
};
export type MpInvocationDispatch = {
    mode: "dry-run";
    requestedSubscribers: readonly string[];
    deliverableSubscribers: readonly string[];
    actualModuleCallStarted: false;
};
export type MpInvocationResult = {
    ok: true;
    event: MpInvocationEvent;
    dispatch: MpInvocationDispatch;
    events: readonly string[];
} | {
    ok: false;
    error: MpInvocationError;
    events: readonly string[];
};
export declare const mpInvocationDescriptor: {
    readonly type: "officialPoolInvocation.mp.requested";
    readonly route: "agent_executionEngine.coreLogic.eventExposurePlane.officialPoolInvocation";
    readonly purpose: "expose MP official module invocation events without executing MP behavior";
    readonly dispatch: "dry-run";
    readonly unsafeSideEffects: false;
};
export declare function exposeMpInvocationEvent(request?: MpInvocationRequest): MpInvocationResult;
