/** * Trellis Client — browser runtime surface * * This barrel is selected by the package `browser` condition. It exposes the * remote DB SDK and framework-agnostic live-read primitives without importing * filesystem config, embedded tenancy, or the VCS engine. * * @module trellis/client */ export { TrellisDb, FetchError } from './sdk.browser.js'; export type { AuthResult, EntityData, ListResult, QueryResult, Subscription, SubscriptionCallback, TrellisDbLocalOptions, TrellisDbOptions, TrellisDbRemoteOptions, UploadResult, } from './sdk.browser.js'; export { Signal, BatchSignal } from './reactive.js'; export { liveQuery, liveEntities, liveEntity } from './live.js'; export type { LiveEntitiesOptions, LiveEntityOptions, LiveResource, ReadState, } from './live.js'; export type { DbMode, TrellisDbConfig } from './config.js'; export declare const CONFIG_FILE = ".trellis-db.json"; /** * Filesystem-backed Trellis config is not available in browsers. */ export declare function hasConfig(_dir?: string): boolean; /** * Filesystem-backed Trellis config is not available in browsers. */ export declare function readConfig(_dir?: string): null; export declare function configPath(dir?: string): string; export declare function writeConfig(): never; export declare function updateConfig(): never; export declare function defaultLocalConfig(dbPath: string, opts?: Partial): import('./config.js').TrellisDbConfig; //# sourceMappingURL=index.browser.d.ts.map