export interface ScopeReference { /** Absolute path to the file containing the @scope reference. */ filePath: string; } export interface ScanConfig { /** Directories to recursively scan for workflow YAML files containing the scope substring. */ workflowDirs: string[]; /** Directories to recursively scan for provider_options YAML files containing the scope substring. */ providerOptionsDirs: string[]; /** Directories containing direct YAML step fragments to scan for the scope substring. */ stepsDirs: string[]; /** Directories to recursively scan for facet-pool YAML files containing the scope substring. */ facetPoolsDirs: string[]; /** Individual YAML files to check for the scope substring (e.g. workflow-categories.yaml). */ categoriesFiles: string[]; } export declare function findScopeReferences(scope: string, config: ScanConfig): ScopeReference[]; /** * Determine whether the @owner directory can be removed after deleting a repo. * * Returns true if the owner directory would have no remaining subdirectories * once the given repo is removed. * * @param ownerDir - absolute path to the @owner directory * @param repoBeingRemoved - repo name that will be deleted (excluded from check) */ export declare function shouldRemoveOwnerDir(ownerDir: string, repoBeingRemoved: string): boolean; //# sourceMappingURL=remove.d.ts.map