import { ElementCreator } from 'tosijs'; import type { FloatPosition } from './pop-float.js'; declare const TosiFloat_base: import("tosijs").WithAttributes<{ drag: boolean; remainOnResize: "hide" | "remove" | "remain"; remainOnScroll: "hide" | "remove" | "remain"; }>; export declare class TosiFloat extends TosiFloat_base { static preferredTagName: string; static floats: Set; /** * The element this float was popped from (set by `popFloat`). Only a scroll that moves it * (the page, or a scroller containing it) triggers `remainOnScroll`. `null`: any scroll does. */ anchor: Element | null; /** * The position it was asked for against its anchor (set by `positionFloat`), so it can be * re-fitted when the visible viewport changes. `null`: never positioned against an anchor. */ anchorPosition: FloatPosition | null; content: HTMLSlotElement; static shadowStyleSpec: { ':host': { position: string; }; }; reposition: (event: Event) => void; connectedCallback(): void; disconnectedCallback(): void; } /** @deprecated Use TosiFloat instead */ export type XinFloat = TosiFloat; /** @deprecated Use TosiFloat instead */ export declare const XinFloat: typeof TosiFloat; export declare const tosiFloat: ElementCreator; /** @deprecated Use tosiFloat instead */ export declare const xinFloat: ElementCreator; export {};