import { LitElement } from 'lit'; import { AbstractConstructor } from './constructor.js'; export declare abstract class SbbHydrationMixinType { /** * Returns a Promise that resolves when the element has completed hydration. * The Promise value is a boolean that is `true` if the element required hydration * and `false` if not. * * @return A promise of a boolean that resolves to true once the hydration completed. */ get hydrationComplete(): Promise; /** * Called only if Declarative Shadow DOM is detected, during the initialization stage * but before the hydration stage. * When using server side rendering, this is called in willUpdate. */ protected recoverSsrState?(): void; /** Reads and removes an attribute with the given name. Either returns the attributte value or null. */ protected getAndRemoveAttribute(name: string): string | null; } /** * This mixin extends a base class with functionality to check if hydration is completed. * It also delays slotchange events until hydration is complete. * * @param base The class to extend. * @returns A class extended with the hydration check functionality. */ export declare const SbbHydrationMixin: >(base: T) => AbstractConstructor & T; //# sourceMappingURL=hydration-mixin.d.ts.map