import type { InstantConfig, InstantSchemaDef, InstantUnknownSchema } from '@instantdb/core'; import InstantReactWebDatabase from './InstantReactWebDatabase.ts'; /** * * The first step: init your application! * * Visit https://instantdb.com/dash to get your `appId` :) * * @example * import { init } from "@instantdb/react" * * const db = init({ appId: "my-app-id" }) * * // You can also provide a schema for type safety and editor autocomplete! * * import { init } from "@instantdb/react" * import schema from ""../instant.schema.ts"; * * const db = init({ appId: "my-app-id", schema }) * * // To learn more: https://instantdb.com/docs/modeling-data */ export declare function init = InstantUnknownSchema, UseDates extends boolean = false>(config: Omit, 'useDateObjects'> & { useDateObjects?: UseDates; }): InstantReactWebDatabase>; /** * @deprecated * `init_experimental` is deprecated. You can replace it with `init`. * * @example * * // Before * import { init_experimental } from "@instantdb/react" * const db = init_experimental({ ... }); * * // After * import { init } from "@instantdb/react" * const db = init({ ... }); */ export declare const init_experimental: typeof init; //# sourceMappingURL=init.d.ts.map