renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
25 lines (24 loc) • 916 B
TypeScript
export declare class ImportEntry {
readonly path: string;
readonly isTry: boolean;
readonly entryType = "import";
constructor(path: string, isTry: boolean);
}
export declare class BazelOption {
readonly name: string;
readonly value?: string | undefined;
constructor(name: string, value?: string | undefined);
static parse(input: string): BazelOption[];
}
export declare class CommandEntry {
readonly command: string;
readonly options: BazelOption[];
readonly config?: string | undefined;
readonly entryType = "command";
constructor(command: string, options: BazelOption[], config?: string | undefined);
getOption(name: string): BazelOption | undefined;
}
type BazelrcEntries = ImportEntry | CommandEntry;
export declare function parse(contents: string): BazelrcEntries[];
export declare function read(workspaceDir: string): Promise<CommandEntry[]>;
export {};