import NightingaleElement from "@nightingale-elements/nightingale-new-core"; export declare class NightingaleScrollboxItem extends NightingaleElement { /** HTML content to be rendered when this item becomes visible (before running "onEnter" callback). Leave unset to keep existing content. */ "content-visible"?: string; /** HTML content to be rendered when this item becomes hidden (before running "onExit" callback). Leave unset to keep existing content. */ "content-hidden"?: string; /** Custom data associated with this item. */ data?: TData; private scrollbox?; private currentState; private requiredState; private readonly queue; private readonly callbacks; connectedCallback(): void; disconnectedCallback(): void; /** Request changing item state to "new" and running "onRegister" callback. */ register(): void; /** Request changing item state to undefined and running "onUnregister" callback. This item should not be used anymore. */ unregister(): void; /** Request changing item state to "visible" and running "onEnter" callback. */ enter(): void; /** Request changing item state to "hidden" and running "onExit" callback. */ exit(): void; private setContent; /** Set or remove "onRegister" callback function. Also run this callback function if the item is already registered (i.e. in "new", "visible", or "hidden" state). */ onRegister(callback: ((item: NightingaleScrollboxItem) => void | Promise) | null | undefined): void; /** Set or remove "onEnter" callback function. Also run this callback function if the item is in "visible" state. */ onEnter(callback: ((item: NightingaleScrollboxItem) => void | Promise) | null | undefined): void; /** Set or remove "onExit" callback function. Also run this callback function if the item is in "hidden" state. */ onExit(callback: ((item: NightingaleScrollboxItem) => void | Promise) | null | undefined): void; /** Set or remove "onUnregister" callback function. */ onUnregister(callback: ((item: NightingaleScrollboxItem) => void | Promise) | null | undefined): void; } //# sourceMappingURL=nightingale-scrollbox-item.d.ts.map