/** @jsxImportSource react */ import { PureContainerBase, PureContainerConfig } from "./PureContainer"; import { CultureInfo } from "./Culture"; import { BooleanProp, NumberProp, StringProp, StructuredProp } from "./Prop"; import { Instance } from "./Instance"; export interface RestateConfig extends PureContainerConfig { /** Data object to be exposed in the local store. */ data?: StructuredProp; /** Set to `true` to render the content in a separate, detached rendering context. */ detached?: boolean; /** Set to `true` to defer updates until the browser is idle. */ deferredUntilIdle?: BooleanProp; /** Timeout in milliseconds for idle updates. */ idleTimeout?: NumberProp; /** Key used to cache and persist the local store data. */ cacheKey?: StringProp; /** Set to `true` to disable batching of updates. */ immediate?: boolean; /** Error handler callback. */ onError?: (error: Error, instance: Instance) => void; /** Culture info to be used for formatting. */ culture?: CultureInfo; } export interface RestateProps extends RestateConfig { } export declare class Restate extends PureContainerBase { container: any; privateDataSelector: any; detached: boolean; data?: any; culture?: any; options?: any; onError?: (error: Error, instance: Instance) => void; waitForIdle: boolean; immediate: boolean; declareData(...args: any[]): void; init(): void; initSubStore(context: any, instance: any): void; applyParentStore(instance: any): void; explore(context: any, instance: any): void; exploreItems(context: any, instance: any, items: any): void; render(context: any, instance: any, key: string): any; } export declare const PrivateStore: typeof Restate; //# sourceMappingURL=Restate.d.ts.map