import { z } from "zod"; import { intRange } from "../../../validation/fields.js"; export { GITHUB_SEARCH_DEFAULT_LIMIT as DEFAULT_GITHUB_SEARCH_LIMIT, GITHUB_SEARCH_PAGE_SIZE, GITHUB_SEARCH_MAX_LIMIT as MAX_GITHUB_SEARCH_LIMIT, GITHUB_STRUCTURE_DEFAULT_ENTRIES_PER_PAGE as DEFAULT_GITHUB_STRUCTURE_ITEMS_PER_PAGE, GITHUB_STRUCTURE_MAX_DEPTH as MAX_GITHUB_STRUCTURE_DEPTH, GITHUB_STRUCTURE_MAX_ENTRIES_PER_PAGE as MAX_GITHUB_STRUCTURE_ITEMS_PER_PAGE, LOCAL_FIND_MAX_DEPTH as MAX_FIND_DEPTH, LOCAL_MAX_DEPTH as MAX_LOCAL_DEPTH, LOCAL_MAX_FILES_PER_PAGE as MAX_LOCAL_ITEMS_PER_PAGE, LOCAL_MAX_LIMIT as MAX_LOCAL_LIMIT, LOCAL_MAX_MATCH_COUNT as MAX_MATCH_COUNT, LOCAL_MAX_SEARCH_ITEMS_PER_PAGE as MAX_SEARCH_ITEMS_PER_PAGE, LSP_MAX_DEPTH as MAX_LSP_DEPTH, LSP_MAX_ITEMS_PER_PAGE as MAX_LSP_ITEMS_PER_PAGE, MAX_CHAR_LENGTH, MAX_CHAR_OFFSET, MAX_CONTEXT_LINES, DEFAULT_READ_CONTEXT_LINES, MAX_INPUT_ARRAY_ITEMS, MAX_LINE_NUMBER, MAX_MATCH_CONTENT_LENGTH, MAX_ORDER_HINT, MAX_PAGE_NUMBER, } from "../../../limits.js"; export { intRange }; export declare const StringArray: z.ZodOptional>; export declare function pageNumber(): z.ZodDefault; export declare function optionalPageNumber(): z.ZodOptional; export declare function contextLines(): z.ZodOptional; /** * `qualifiers`: space-separated GitHub `key:value` filters from an * allowlist. Scope keys (repo:/org:/user:) are never listed, so scope stays * in owner/repo; free text belongs in keywords. `value` is the regex source * for one value; `negated` lists the exact `key:value` terms native runs * with a leading `-` (no other term accepts one). */ export declare function qualifiersField(keys: readonly string[], options: { value: string; negated?: readonly string[]; }): z.ZodString; export declare function charOffset(): z.ZodOptional; export declare function charLength(): z.ZodOptional; export declare const metaFields: { mainGoal: z.ZodOptional; reasoning: z.ZodOptional; debug: z.ZodDefault; }; /** * Register a JSON-schema `$defs` id on every non-meta field of a shape so a * field reused across discriminated-union branches emits one definition plus * `$ref`s instead of being inlined per branch. Meta fields already carry their * own ids (QueryMainGoal/QueryReasoning/QueryDebug) and are left untouched. */ export declare function assignFieldIds(shape: T, prefix: string): T; /** Shared refinement: fullContent / matchString / ranges are mutually * exclusive extraction modes, and each range ends at or after its start. Used * by both the local and GitHub file-content readers. */ export { validateFileContentExtractionMode } from "../../../nativeRules/interpreter.js"; export type { QualifierField } from "../../../nativeRules/types.js";