import { Spec } from "../spec.js"; import { Locator } from "./locator.js"; export interface SpecGroup { name: string; specs: Spec[]; } export interface ObjectSpecs { objectName: string; specs: Spec[]; specGroups: SpecGroup[]; } export interface PageSection { name: string; place?: { filePath: string; lineNumber: number; }; objects: ObjectSpecs[]; sections: PageSection[]; } export declare class PageSpec { readonly objects: Map; readonly sections: PageSection[]; readonly objectGroups: Map; addObject(name: string, locator: Locator): void; getObjectLocator(name: string): Locator | undefined; addSection(section: PageSection): void; addObjectGroup(groupName: string, objectNames: string[]): void; findObjectsInGroup(groupName: string): string[]; getSortedObjectNames(): string[]; findMatchingObjectNames(pattern: string): string[]; addSpec(objectName: string, spec: Spec): void; merge(other: PageSpec): void; } //# sourceMappingURL=page-spec.d.ts.map