declare const WaferClient_base: { new (...args: any[]): { [x: string]: any; readonly props: { [x: string]: import("./types").Prop; }; _connectedOnce: boolean; _propNames: string[]; _attrToProp: { [x: string]: string; }; _props: { [x: string]: any; }; _changing: boolean; _updatePromise: Promise | null; _toUpdate: Map; _firstUpdate: boolean; _newChanges: boolean; _removeUnreflectedAttributes: boolean; _initials: { [x: string]: any; }; _setter(name: string): (value: any) => void; _getter(name: string): () => any; /** * Returns true if the component has been rendered on the server * and has not yet been rehydrated * * @type {boolean} */ initialiseProps(): void; setupPropValues(): void; _setFromAttribute(name: string, value: string | null): void; _setFromProp(name: string, value: any): void; attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void; triggerUpdate(): Promise; update(props?: string[] | null | undefined): void; changed(changed: Map): void | string[] | Promise; updated(updated: Map): void | Promise; firstUpdated(updated: Map): void | Promise; requestUpdate(props?: string[] | null | undefined): Promise; updateDone(): Promise; }; readonly template: string; readonly props: { [x: string]: import("./types").Prop; }; readonly observedAttributes: string[]; } & { new (): HTMLElement; prototype: HTMLElement; }; export default class WaferClient extends WaferClient_base { /** * Does the current client context support Declarative Shadow DOM * * @type {boolean} */ static get supportsDSD(): boolean; /** * @param {boolean} ssr */ static set isSSR(arg: boolean); /** * * @param {import("./types").ClientOpts} opts * */ constructor({ shadow }?: import("./types").ClientOpts); /** * Object keyed by a CSS Selector to an object mapping DOM event names * to the function that should be called when the event occurs. The function * will be automatically bound to the current element. Alternatively * the event name can map to a {@link TargetEvent} to enable binding to * different targets and/or use different event options * * * @type {Object.} */ get events(): { [x: string]: { [x: string]: import("./types").TargetEvent | ((this: Element, ev: Event) => any); }; }; /** * * @param {import("./types").ShadowOpts} shadow */ init(shadow: import("./types").ShadowOpts): void; /** * Called when an element is attached to the DOM */ connectedCallback(): void; /** * Returns true if the component has been rendered on the server * and has not yet been rehydrated * * @type {boolean} */ get _needsRehydrating(): boolean; /** * Update the targets for property * * @param {string} name */ updateTargets(name: string): Promise; } export {};