export interface AstGrepRuleInvocation { readonly ruleId: string; readonly passthrough: readonly string[]; } export interface RunAstGrepRuleOptions { readonly args: readonly string[]; readonly cwd?: string; readonly rulesDirectory?: string; readonly executable?: string; readonly defaultScanArguments?: readonly string[]; } export declare function parseAstGrepRuleArgs(args: readonly string[]): AstGrepRuleInvocation; export declare function runAstGrepRule(options: RunAstGrepRuleOptions): Promise;