import { type TSESTree } from '@typescript-eslint/typescript-estree'; import { VariableKind } from '../guards/is_variable_declaration_of_kind'; type Node = TSESTree.Node; type VariableDeclaration = TSESTree.VariableDeclaration; type VariableDeclarator = TSESTree.VariableDeclarator; export type ProgramConstant = VariableDeclarator & { kind: VariableDeclaration['kind']; }; export type ProgramConstants = ProgramConstant[]; /** * Finds all constants declared at the top-level of the scope of the node given. * * @param root the top-level * @returns Node[] */ export declare function findTopLevelConstants(root: Node, kinds: readonly VariableKind[]): ProgramConstants; export {};