import { z } from "zod"; import { Context, ESTree, RuleMeta, Visitor } from "@oxlint/plugins"; //#region src/oxlint/ast.d.ts export declare const consumerOptions: z.ZodObject<{ convexDir: z.ZodDefault; componentDirs: z.ZodDefault>; domainPublicFiles: z.ZodDefault>>; }, z.core.$strip>; export declare function appFile(context: Context, filename?: string): string | null; export declare function imported(context: Context, node: ESTree.Node, active?: Set): { source: string; name: string; } | null; /** Follow immutable bindings only; a same-named parameter never inherits outer provenance. */ export declare function localInitializer(context: Context, node: ESTree.Node): ESTree.Node | null; export declare function localDestructured(context: Context, node: ESTree.Node): { expression: ESTree.Expression; name: string; } | null; export type ReadProvenance = 'table' | 'dtoSchema' | 'dto' | 'engine' | 'reader' | 'include' | 'context' | 'db' | 'stream' | 'relationship' | 'bounded' | 'page' | 'validator' | 'foundation' | 'queryRegistry' | 'queryOperation'; /** Suspend dependencies on a work stack; null in-progress entries terminate alias cycles. */ export declare function readProvenance(context: Context, node: ESTree.Node): ReadProvenance | null; export declare function sourceVisitors(context: Context, check: (node: ESTree.Node, source: string) => void): Visitor; export declare function isFunctionsImport(context: Context, source: string): boolean; export declare function typeOnlySource(node: ESTree.Node): boolean; export declare function isDbAccess(node: ESTree.CallExpression): boolean; export declare function isExternalCall(context: Context, node: ESTree.CallExpression): boolean; export declare function containsComponentReference(context: Context, node: ESTree.Node): boolean; export declare function rootMember(node: ESTree.Node): ESTree.Node; export declare function memberPath(node: ESTree.Node): string[]; export declare function isTableChain(node: ESTree.Node): boolean; export declare function isDbWrite(node: ESTree.CallExpression): boolean; export declare function hasCall(node: ESTree.Node, name: string): boolean; export declare function metadata(description: string, messages: Record): RuleMeta; export declare function componentRoot(context: Context, filename: string): string | null; export declare function staticString(node: ESTree.Node | null | undefined): string | null; export declare function propertyName(node: ESTree.Node): string | null; export declare function binding(context: Context, node: ESTree.Node): import("@oxlint/plugins").Variable | null; export declare function exportedNames(program: ESTree.Program): Set; export declare function exportName(node: ESTree.Node): string | null; export declare function delegatingBody(node: ESTree.Node): boolean; //#endregion //# sourceMappingURL=ast.d.mts.map