import type { SyntaxNode } from "../../../infrastructure/parser/ts-utils.js"; import type { PythonDeclarationIndex } from "../index/python/declarations.js"; import type { PythonImportIndex } from "../index/python/imports.js"; export type ModuleLike = { readonly imports: PythonImportIndex; readonly declarations: PythonDeclarationIndex; }; export type VerbRequest = { readonly handlerNode: SyntaxNode | null; readonly view: ModuleLike; readonly modules: ReadonlyMap; readonly sourcePaths: readonly string[]; }; /** * The verbs a handler answers are the HTTP-named members it declares, plus the * ones it inherits. A handler that declares none and inherits one answers that * one, which is why the walk crosses module boundaries rather than stopping at * the class body. */ export declare function verbsOfHandler(request: VerbRequest): readonly string[];