declare function parseActionManifest(raw: any): { ok: boolean; error: string; manifest?: undefined; } | { ok: boolean; manifest: { verbs: ("read" | "trade-spot" | "transfer-internal" | "withdraw" | "contract-call")[]; schema: string; name: string; form: "automation" | "standing-auth"; contractCall?: { toAllowlist: string[]; selectorAllowlist: string[]; chainId: number; maxValueWei?: string | undefined; roles?: Record | undefined; gaugeAddress?: string | undefined; maxDeadlineSec?: number | undefined; lpConstraints?: { pools: { token0: string; token1: string; tickSpacing: number; }[]; rangeWidthTicks: { min: number; max: number; }; maxTicksFromTwap: number; } | undefined; } | undefined; expiry?: string | undefined; description?: string | undefined; grantee?: { kind: "automation" | "agent" | "member" | "api-key"; id?: string | undefined; } | undefined; revocable?: boolean | undefined; paramsJsonSchema?: Record | undefined; bounds?: { maxNotionalPerOrderUsd?: number | undefined; maxNotionalPerDayUsd?: number | undefined; symbolAllowlist?: string[] | undefined; venueAllowlist?: string[] | undefined; assuranceRequired?: "L1" | "L2" | "L3" | undefined; } | undefined; notional?: { kind: "fixed"; usd: number; } | { kind: "param"; param: string; } | { kind: "refPrice"; qtyParam: string; symbolParam: string; source?: string | undefined; } | { kind: "unpriced"; } | undefined; egress?: { apiHosts: string[]; } | undefined; signals?: { source: string; symbol?: string | undefined; }[] | undefined; }; error?: undefined; }; declare function simulateActionIntent(input: any): { intent: { mode: any; createdAt: string; parentIntentRef?: any; reason: any; expiresAt?: any; tolerances?: any; chainId?: string | number | undefined; value?: string | undefined; selector?: any; to?: any; destination?: any; asset?: any; symbol?: any; params: any; notionalUsd: any; venueId?: any; venueConnectionId?: any; installId?: any; schema: string; intentId: string; orgId: any; initiator: { role?: any; id: any; class: any; }; verb: any; templateSlug: any; }; verdict: any; notionalUsd: any; priceSource: { symbol: any; priceUsd: any; requestedSource: string; resolvedSource: string; tier: string; usedFallback: boolean; } | null; }; declare function parsePolicyDoc(raw: any): { ok: boolean; error: string; doc?: undefined; } | { ok: boolean; doc: { schema: "flows-policy-v1" | "flows-policy-v2"; orgId: string; version: number; caps: { maxNotionalPerOrderUsd?: number | undefined; maxNotionalPerDayUsd?: number | undefined; }; circuits: { withdrawalsAlwaysHold: boolean; holdAssurance: "L1" | "L2" | "L3"; holdTtlSec: number; policyLoosening: "hold" | "timelock"; approval?: "self" | "second-person" | "quorum" | undefined; timelockSec?: number | undefined; }; gas?: { maxUsdPerOrder?: number | undefined; maxUsdPerDay?: number | undefined; } | undefined; perWallet?: Record | undefined; initiatorClassAllowances?: { human?: { maxNotionalPerOrderUsd?: number | undefined; maxNotionalPerDayUsd?: number | undefined; } | undefined; schedule?: { maxNotionalPerOrderUsd?: number | undefined; maxNotionalPerDayUsd?: number | undefined; } | undefined; agent?: { maxNotionalPerOrderUsd?: number | undefined; maxNotionalPerDayUsd?: number | undefined; } | undefined; } | undefined; allowlists?: { venues?: string[] | undefined; symbols?: string[] | undefined; destinations?: string[] | undefined; } | undefined; selfWallets?: string[] | undefined; allowedApiHosts?: string[] | undefined; notify?: { onLiveRunOverUsd?: number | undefined; } | undefined; compliance?: { screenWithdrawals: boolean; holdOnUnknown: boolean; } | undefined; risk?: { maxProtocolRiskScore?: number | undefined; allowedAssetClasses?: ("stable" | "bluechip" | "major" | "other")[] | undefined; maxExposurePerProtocolUsd?: number | undefined; } | undefined; }; error?: undefined; }; export { parseActionManifest, parsePolicyDoc, simulateActionIntent };