type Bucket = "providers" | "exports";
export declare class SolidTsMorphService {
    private readonly logger;
    private project;
    private inTxn;
    private stagedWrites;
    private dirtySourceFiles;
    private readonly repoRoot;
    private readonly workspaceMap;
    constructor();
    private discoverRepoRoot;
    private resolveRepoPath;
    private rel;
    begin(): void;
    rollback(): void;
    commit(): Promise<{
        wrote: number;
    }>;
    createNewFile(path: string, content: string, overwrite?: boolean): {
        createdOrStaged: boolean;
        skipped: boolean;
    };
    registerNestProvider(modulePath: string, providerClassName: string, importFrom: string, registerIn: Array<Bucket>, uniqueGuard?: boolean): {
        staged: boolean;
    };
    addMethodToExistingClass(filePath: string, className: string, methodName: string, methodCode: string): {
        staged: boolean;
        overwritten: boolean;
        skipped: boolean;
    };
    registerSolidUiExtension(filePath: string, lineToAdd: string): {
        staged: boolean;
        overwritten: boolean;
        skipped: boolean;
    };
    removeImports(filePath: string, filter: (moduleSpecifier: string) => boolean): {
        removedIdentifiers: Set<string>;
        staged: boolean;
        skipped: boolean;
    };
    removeModuleMembers(filePath: string, names: Set<string> | string[]): {
        staged: boolean;
        skipped: boolean;
    };
    addImport(filePath: string, importLine: string): {
        staged: boolean;
        overwritten: boolean;
        skipped: boolean;
    };
}
export {};
//# sourceMappingURL=solid-ts-morph.service.d.ts.map