export declare const MANIFEST_VERSION = "2"; export declare const GENERATED_SCHEMA_NAMES: readonly ["Ack", "AggregationResult", "ApiError", "DecisionDecideRequest", "DecisionPending", "DispatchRequest", "DispatchResult", "Empty", "ExprEvalRequest", "ExprEvalResponse", "PairConfirmRequest", "PairInitRequest", "PairPollRequest", "PairResponse", "Record", "RecordList", "RichQueryRequest", "RichQueryResult", "ThreadList", "ThreadSummary", "TrustScore"]; export interface _GeneratedManifestRoot { Ack?: Ack; AggregationResult?: AggregationResult; ApiError?: ApiError; DecisionDecideRequest?: DecisionDecideRequest; DecisionPending?: DecisionPending; DispatchRequest?: DispatchRequest; DispatchResult?: DispatchResult; Empty?: Empty; ExprEvalRequest?: ExprEvalRequest; ExprEvalResponse?: ExprEvalResponse; PairConfirmRequest?: PairConfirmRequest; PairInitRequest?: PairInitRequest; PairPollRequest?: PairPollRequest; PairResponse?: PairResponse; Record?: Record; RecordList?: RecordList; RichQueryRequest?: RichQueryRequest; RichQueryResult?: RichQueryResult; ThreadList?: ThreadList; ThreadSummary?: ThreadSummary; TrustScore?: TrustScore; } export interface Ack { object: string; } export interface AggregationResult { groups: { aggregates: {}; key: {}; }[]; object: "aggregation"; plan: { budget: number; complete: true; groups: number; rows_scanned: number; watermark_seq: number; }; } export interface ApiError { audit_record?: string; code: string; docs_url?: string; hint?: string; message: string; object: "error"; type: string; } export interface DecisionDecideRequest { decision: string; provided_value?: any; reason?: string; } export interface DecisionPending { data: {}[]; } export interface DispatchRequest { actor: string; budget?: number; goal: string; thread?: string; timeout_secs?: number; } export interface DispatchResult { dispatch_id: string; status?: string; thread?: string; } export interface Empty { [k: string]: any; } export interface ExprEvalRequest { context: "trigger" | "routing" | "precondition" | "fold_rule" | "health_check" | "decision" | "permission"; expression: string; record?: {}; timeout_ms?: number; } export interface ExprEvalResponse { elapsed_us?: number; result: any; } export interface PairConfirmRequest { nonce: string; pair_id: string; } export interface PairInitRequest { actor_did: string; labels?: string[]; namespace?: string; peer_url: string; } export interface PairPollRequest { nonce: string; } export interface PairResponse { issued_token?: string; pair_id?: string; responder_manifest?: {}; } export interface Record { act: "GET" | "PUT" | "CALL" | "MAP" | "INTEND" | "DO" | "KNOW" | "LEARN"; actor: string; body: {}; clock: number; data_type: "SCALAR" | "FORMULA" | "DISTRIBUTION" | "REFERENCE" | "MORPHISM" | "VOID"; id: string; judged_by?: string | null; parents: string[]; thread: string; } export interface RecordList { data: Record[]; next_cursor?: string | null; } export interface RichQueryRequest { aggregates?: {}; cursor?: string; filter?: {}; group_by?: [] | [string] | [string, string] | [string, string, string] | [string, string, string, string]; limit?: number; select?: string[]; sort?: {}; } export interface RichQueryResult { data: {}[]; next_cursor?: string | null; } export interface ThreadList { data: ThreadSummary[]; } export interface ThreadSummary { id: string; last_clock?: number; namespace?: string; record_count?: number; } export interface TrustScore { actor: string; domain: string; namespace?: string; samples?: number; score: number; }