import { MsgBase, MsgWithError, NextId, ReqSignedUrlParam, GwCtx, MsgWithTenantLedger, MsgTypesCtx, MsgWithConn } from "./msg-types.js"; import { CalculatePreSignedUrl } from "./msg-types-data.js"; import { z } from "zod/v4"; export declare function MsgIsReqGetWAL(msg: MsgBase): msg is ReqGetWAL; export declare function buildReqGetWAL(sthis: NextId, sup: ReqSignedUrlParam, ctx: GwCtx): ReqGetWAL; export declare function MsgIsResGetWAL(msg: MsgBase): msg is ResGetWAL; export declare function buildResGetWAL(msgCtx: MsgTypesCtx, req: MsgWithTenantLedger>, ctx: CalculatePreSignedUrl): Promise>; export declare function MsgIsReqPutWAL(msg: MsgBase): msg is ReqPutWAL; export declare function buildReqPutWAL(sthis: NextId, sup: ReqSignedUrlParam, ctx: GwCtx): ReqPutWAL; export declare function MsgIsResPutWAL(msg: MsgBase): msg is ResPutWAL; export declare function buildResPutWAL(msgCtx: MsgTypesCtx, req: MsgWithTenantLedger>, ctx: CalculatePreSignedUrl): Promise>; export declare function MsgIsReqDelWAL(msg: MsgBase): msg is ReqDelWAL; export declare function buildReqDelWAL(sthis: NextId, sup: ReqSignedUrlParam, ctx: GwCtx): ReqDelWAL; export declare function MsgIsResDelWAL(msg: MsgBase): msg is ResDelWAL; export declare function buildResDelWAL(msgCtx: MsgTypesCtx, req: MsgWithTenantLedger>, ctx: CalculatePreSignedUrl): Promise>; export declare const ReqGetWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"reqGetWAL">; }, z.core.$strip>; export type ReqGetWAL = z.infer; export declare const ResGetWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"resGetWAL">; }, z.core.$strip>; export type ResGetWAL = z.infer; export declare const ReqPutWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"reqPutWAL">; }, z.core.$strip>; export type ReqPutWAL = z.infer; export declare const ResPutWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"resPutWAL">; }, z.core.$strip>; export type ResPutWAL = z.infer; export declare const ReqDelWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"reqDelWAL">; }, z.core.$strip>; export type ReqDelWAL = z.infer; export declare const ResDelWALSchema: z.ZodObject<{ tid: z.ZodString; version: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly; iss: z.ZodOptional; sub: z.ZodOptional; aud: z.ZodOptional]>>; exp: z.ZodOptional; nbf: z.ZodOptional; iat: z.ZodOptional; jti: z.ZodOptional; userId: z.ZodString; email: z.ZodEmail; nickname: z.ZodOptional; provider: z.ZodOptional>; created: z.ZodCoercedDate; tenants: z.ZodArray; }, z.core.$strip>>>; ledgers: z.ZodArray; right: z.ZodEnum<{ read: "read"; write: "write"; }>; }, z.core.$strip>>>; selected: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodObject<{ alg: z.ZodOptional; issuer: z.ZodOptional; audience: z.ZodOptional; validFor: z.ZodOptional; }, z.core.$strip>>>; jwk: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>>, z.ZodReadonly; params: z.ZodReadonly>; }, z.core.$strip>>, z.ZodReadonly; }, z.core.$strip>>], "type">; conn: z.ZodObject<{ reqId: z.ZodString; resId: z.ZodString; }, z.core.$strip>; tenant: z.ZodReadonly; tenant: z.ZodString; ledger: z.ZodString; }, z.core.$strip>>; methodParam: z.ZodObject<{ method: z.ZodEnum<{ DELETE: "DELETE"; GET: "GET"; PUT: "PUT"; }>; store: z.ZodEnum<{ car: "car"; file: "file"; meta: "meta"; wal: "wal"; }>; }, z.core.$strip>; urlParam: z.ZodObject<{ path: z.ZodOptional; key: z.ZodString; expires: z.ZodOptional; index: z.ZodOptional; }, z.core.$strip>; signedUrl: z.ZodString; type: z.ZodLiteral<"resDelWAL">; }, z.core.$strip>; export type ResDelWAL = z.infer;