import { Page } from "@playwright/test"; import { UIAdapter } from "./base.js"; /** * Gets a UI adapter by its ID. */ export declare function getUIAdapter(id: string): UIAdapter; /** * Registers a new UI adapter. */ export declare function registerUIAdapter(adapter: UIAdapter): void; /** * Provides methods for interacting with the Foundry VTT UI. */ export declare class FoundryUI { private page; private adapter; constructor(page: Page, adapterId?: string); /** * Sets the UI adapter to use. */ setAdapter(adapterId: string): void; /** * Gets the CSS selector for actor sheets. */ getActorSheetSelector(): string; /** * Switches to a specific tab on an application. */ switchTab(appSelector: string, tabName: string): Promise; /** * Switches to a specific tab on an actor sheet. */ switchActorTab(actorName: string, tabName: string): Promise; /** * Expands a collapsible section if it is currently collapsed. */ handleCollapsibleSection(appSelector: string, sectionName: string): Promise; /** * Simulates a drag-and-drop event in Foundry VTT. */ simulateDrop(targetSelector: string, data: Record): Promise; } export * from "./base.js"; export * from "./tidy5e.js"; export * from "./dnd5e.js";