import type { GovernanceServiceCredential } from './capability-grant.js'; import type { GovernanceServiceResponse } from './project-service.js'; import { GOVERNANCE_SERVICE_PROTOCOL_VERSION } from './service-protocol.js'; export declare const GOVERNANCE_IPC_MAX_FRAME_BYTES: number; export interface GovernanceIpcRequestEnvelope { readonly protocolVersion: typeof GOVERNANCE_SERVICE_PROTOCOL_VERSION; readonly credential: GovernanceServiceCredential; readonly request: unknown; } interface GovernanceIpcDecodeIssue { readonly path: string; readonly message: string; } type GovernanceIpcEnvelopeDecodeResult = { readonly decoded: true; readonly envelope: GovernanceIpcRequestEnvelope; } | { readonly decoded: false; readonly issues: readonly GovernanceIpcDecodeIssue[]; }; export declare function decodeGovernanceIpcEnvelope(input: unknown): GovernanceIpcEnvelopeDecodeResult; export declare function encodeGovernanceIpcFrame(value: unknown): Buffer; export declare function decodeGovernanceIpcResponse(input: unknown): GovernanceServiceResponse; export {}; //# sourceMappingURL=ipc-protocol.d.ts.map