import { z } from 'zod';
/** Named LMDB backing-store connection. */
export declare const LmdbConnectionConfigZod: z.ZodObject<{
    access: z.ZodOptional<z.ZodEnum<{
        read: "read";
        write: "write";
    }>>;
    root: z.ZodString;
    store: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"lmdb">;
}, z.core.$strip>;
/** MongoDB backing-store connection. */
export declare const MongoConnectionConfigZod: z.ZodObject<{
    type: z.ZodLiteral<"mongo">;
    connectionString: z.ZodOptional<z.ZodString>;
    database: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    password: z.ZodOptional<z.ZodString>;
    username: z.ZodOptional<z.ZodString>;
    collection: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
/** JSON-RPC wire connection (HTTP or postMessage). */
export declare const RpcConnectionConfigZod: z.ZodObject<{
    type: z.ZodLiteral<"rpc">;
    protocol: z.ZodDefault<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
    networkId: z.ZodOptional<z.ZodString>;
    sessionId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
/** HTTP REST read connection (CDN / public read base URL). */
export declare const RestConnectionConfigZod: z.ZodObject<{
    type: z.ZodLiteral<"rest">;
    baseUrl: z.ZodString;
}, z.core.$strip>;
/** S3-compatible object storage connection (API + optional public read URL). */
export declare const S3ConnectionConfigZod: z.ZodObject<{
    bucket: z.ZodOptional<z.ZodString>;
    caFile: z.ZodOptional<z.ZodString>;
    endpoint: z.ZodOptional<z.ZodString>;
    prefix: z.ZodOptional<z.ZodString>;
    readUrl: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"s3">;
    accessKeyId: z.ZodOptional<z.ZodString>;
    accountId: z.ZodOptional<z.ZodString>;
    secretAccessKey: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
/** EVM JSON-RPC connection. */
export declare const EvmRpcConnectionConfigZod: z.ZodObject<{
    type: z.ZodLiteral<"evm-rpc">;
    url: z.ZodString;
    chainId: z.ZodOptional<z.ZodString>;
    eventQueryBlockChunkSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
}, z.core.$strip>;
/** In-process shared-memory connection (ephemeral; backed by a MemoryArchivist). */
export declare const MemoryConnectionConfigZod: z.ZodObject<{
    type: z.ZodLiteral<"memory">;
}, z.core.$strip>;
/** Discriminated union of all supported connection kinds. */
export declare const ConnectionConfigZod: z.ZodDiscriminatedUnion<[z.ZodObject<{
    access: z.ZodOptional<z.ZodEnum<{
        read: "read";
        write: "write";
    }>>;
    root: z.ZodString;
    store: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"lmdb">;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"mongo">;
    connectionString: z.ZodOptional<z.ZodString>;
    database: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    password: z.ZodOptional<z.ZodString>;
    username: z.ZodOptional<z.ZodString>;
    collection: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"rpc">;
    protocol: z.ZodDefault<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
    networkId: z.ZodOptional<z.ZodString>;
    sessionId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"rest">;
    baseUrl: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    bucket: z.ZodOptional<z.ZodString>;
    caFile: z.ZodOptional<z.ZodString>;
    endpoint: z.ZodOptional<z.ZodString>;
    prefix: z.ZodOptional<z.ZodString>;
    readUrl: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"s3">;
    accessKeyId: z.ZodOptional<z.ZodString>;
    accountId: z.ZodOptional<z.ZodString>;
    secretAccessKey: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"evm-rpc">;
    url: z.ZodString;
    chainId: z.ZodOptional<z.ZodString>;
    eventQueryBlockChunkSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"memory">;
}, z.core.$strip>], "type">;
/** Configuration accepted by Lmdb Connection. */
export type LmdbConnectionConfig = z.infer<typeof LmdbConnectionConfigZod>;
/** Configuration accepted by Mongo Connection. */
export type MongoConnectionConfig = z.infer<typeof MongoConnectionConfigZod>;
/** Configuration accepted by Rpc Connection. */
export type RpcConnectionConfig = z.infer<typeof RpcConnectionConfigZod>;
/** Configuration accepted by Rest Connection. */
export type RestConnectionConfig = z.infer<typeof RestConnectionConfigZod>;
/** Configuration accepted by S3 Connection. */
export type S3ConnectionConfig = z.infer<typeof S3ConnectionConfigZod>;
/** Configuration accepted by Evm Rpc Connection. */
export type EvmRpcConnectionConfig = z.infer<typeof EvmRpcConnectionConfigZod>;
/** Configuration accepted by Memory Connection. */
export type MemoryConnectionConfig = z.infer<typeof MemoryConnectionConfigZod>;
/** Configuration accepted by Connection. */
export type ConnectionConfig = z.infer<typeof ConnectionConfigZod>;
/** Map of connection name → connection configuration. */
export declare const ConnectionsConfigZod: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
    access: z.ZodOptional<z.ZodEnum<{
        read: "read";
        write: "write";
    }>>;
    root: z.ZodString;
    store: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"lmdb">;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"mongo">;
    connectionString: z.ZodOptional<z.ZodString>;
    database: z.ZodOptional<z.ZodString>;
    domain: z.ZodOptional<z.ZodString>;
    password: z.ZodOptional<z.ZodString>;
    username: z.ZodOptional<z.ZodString>;
    collection: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"rpc">;
    protocol: z.ZodDefault<z.ZodString>;
    url: z.ZodOptional<z.ZodString>;
    networkId: z.ZodOptional<z.ZodString>;
    sessionId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"rest">;
    baseUrl: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    bucket: z.ZodOptional<z.ZodString>;
    caFile: z.ZodOptional<z.ZodString>;
    endpoint: z.ZodOptional<z.ZodString>;
    prefix: z.ZodOptional<z.ZodString>;
    readUrl: z.ZodOptional<z.ZodString>;
    type: z.ZodLiteral<"s3">;
    accessKeyId: z.ZodOptional<z.ZodString>;
    accountId: z.ZodOptional<z.ZodString>;
    secretAccessKey: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"evm-rpc">;
    url: z.ZodString;
    chainId: z.ZodOptional<z.ZodString>;
    eventQueryBlockChunkSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
}, z.core.$strip>, z.ZodObject<{
    type: z.ZodLiteral<"memory">;
}, z.core.$strip>], "type">>>;
/** Configuration accepted by Connections. */
export type ConnectionsConfig = z.infer<typeof ConnectionsConfigZod>;
/** Data contract used by Connection Kind. */
export type ConnectionKind = ConnectionConfig['type'];
//# sourceMappingURL=Connection.d.ts.map