import { createZeroClientInternal, type CreateZeroClientOptions } from './createZeroClient'; import type { GenericModels } from './types'; import type { Schema as ZeroSchema } from '@rocicorp/zero'; import type { AggregateSet } from 'orez-lite/aggregate'; export * from './combineZeroClients'; export declare function createZeroClientWithDirectQueries(options: CreateZeroClientOptions): ReturnType>; export type ZeroInstanceManifestEntry = { schema: Schema; queries: CreateZeroClientOptions['groupedQueries']; models: Models; aggregates?: AggregateSet; tables: readonly string[]; syncTables: readonly string[]; supportTables: readonly string[]; scope: string | null; defaultVisibility: ((value: string) => { column: string; value: string; }) | null; }; type ClientFor = Entry extends ZeroInstanceManifestEntry ? ReturnType> : never; type ClientMap> = { [Name in keyof Instances]: ClientFor; }; type ClientUnion> = ClientMap[keyof Instances]; export declare function createZeroClients>(instances: Instances): { clients: ClientMap; providers: { [Name in keyof Instances]: ClientMap[Name]["ProvideZero"]; }; combined: import("./combineZeroClients").CombinedZeroClients<[ClientUnion, ...ClientUnion[]]>; }; //# sourceMappingURL=multi.d.ts.map