import { GatewayClient } from "./client.js"; export interface EmitEventOptions { type: string; payload: Record; id?: string; } export type EventOutcome = "matched" | "unmatched"; export interface EmitEventResult { receiptId: string; outcome: EventOutcome; duplicate: boolean; fireIds: string[]; } export declare function emitEvent(opts: EmitEventOptions, client: GatewayClient): Promise; export declare function asEventPayload(value: unknown): Record; export declare function parseEventPayload(raw: string): Record;