import { ApiHelpers } from "./ApiHelpers";
export declare class StylesheetApiHelper {
    api: ApiHelpers;
    constructor(api: ApiHelpers);
    get(path: string): Promise<any>;
    doesExist(path: string): Promise<boolean>;
    create(name: string, content: string, parentPath?: string): Promise<string>;
    updateName(path: string, newName: string): Promise<string | undefined>;
    updateContent(path: string, newContent: string): Promise<import("playwright-core").APIResponse>;
    delete(path: string): Promise<import("playwright-core").APIResponse>;
    getChildren(path: string): Promise<any>;
    doesNameExist(name: string): Promise<any>;
    getAllAtRoot(): Promise<import("playwright-core").APIResponse>;
    getByName(name: string): Promise<any>;
    ensureNameNotExists(name: string): Promise<import("playwright-core").APIResponse | null>;
    private recurseChildren;
    private recurseDeleteChildren;
    getFolder(path: string): Promise<any>;
    doesFolderExist(path: string): Promise<boolean>;
    createFolder(name: string, parentPath?: string): Promise<string | undefined>;
    deleteFolder(path: string): Promise<import("playwright-core").APIResponse>;
    createDefaultStylesheet(name: string): Promise<string>;
    encodeStylesheetPath(path: string): Promise<string>;
    createStylesheetWithHeaderContent(name: string): Promise<string>;
}
