import { z } from "zod"; export declare const SemanticAnswerSchema: z.ZodUnion, z.ZodObject<{ choice: z.ZodString; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ score: z.ZodNumber; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ exists: z.ZodNumber; matches: z.ZodArray; probability: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ error: z.ZodObject<{ errorCode: z.ZodEnum<{ timeout: "timeout"; closed: "closed"; invalidInput: "invalidInput"; notFound: "notFound"; authentication: "authentication"; permission: "permission"; rateLimited: "rateLimited"; invalidPattern: "invalidPattern"; invalidGlob: "invalidGlob"; notAFile: "notAFile"; notADirectory: "notADirectory"; outsideAllowedRoots: "outsideAllowedRoots"; pathValidationFailed: "pathValidationFailed"; languageRequired: "languageRequired"; languageUnsupported: "languageUnsupported"; languageMismatch: "languageMismatch"; languageFileRequired: "languageFileRequired"; languageDirectoryRequired: "languageDirectoryRequired"; invalidClassificationContext: "invalidClassificationContext"; invalidClassificationRequest: "invalidClassificationRequest"; classificationLocateUnsupported: "classificationLocateUnsupported"; classificationExpandedCellsExceeded: "classificationExpandedCellsExceeded"; pathNotFound: "pathNotFound"; versionNotFound: "versionNotFound"; anchorUnresolved: "anchorUnresolved"; classificationRateLimited: "classificationRateLimited"; executionFailed: "executionFailed"; cancelled: "cancelled"; outputContractViolation: "outputContractViolation"; toolUnavailable: "toolUnavailable"; missingConfiguration: "missingConfiguration"; responseTooLarge: "responseTooLarge"; staleSnapshot: "staleSnapshot"; busy: "busy"; config: "config"; contract: "contract"; duplicateRequest: "duplicateRequest"; policy: "policy"; response: "response"; runtime: "runtime"; unroutedTool: "unroutedTool"; binaryFileUnsupported: "binaryFileUnsupported"; contentSecurityLimit: "contentSecurityLimit"; fileAccessFailed: "fileAccessFailed"; fileReadFailed: "fileReadFailed"; fileTooLarge: "fileTooLarge"; invalidPagination: "invalidPagination"; largeSourceWindowOnly: "largeSourceWindowOnly"; noMatches: "noMatches"; pathPolicyDenied: "pathPolicyDenied"; permissionDenied: "permissionDenied"; symlinkEscape: "symlinkEscape"; capabilityUnavailable: "capabilityUnavailable"; configuration: "configuration"; credentialStoreUnavailable: "credentialStoreUnavailable"; decode: "decode"; httpStatus: "httpStatus"; providerError: "providerError"; redirectDenied: "redirectDenied"; server: "server"; transport: "transport"; unavailable: "unavailable"; cacheUnavailable: "cacheUnavailable"; checkoutDirty: "checkoutDirty"; commitMismatch: "commitMismatch"; gitFailed: "gitFailed"; gitUnavailable: "gitUnavailable"; persistentStorageDisabled: "persistentStorageDisabled"; documentSyncFailed: "documentSyncFailed"; requestFailed: "requestFailed"; serverCrashed: "serverCrashed"; serverUnavailable: "serverUnavailable"; workspaceRootInvalid: "workspaceRootInvalid"; invalidGraphQuery: "invalidGraphQuery"; scanFailed: "scanFailed"; scopeTooBroad: "scopeTooBroad"; symbolsUnsupported: "symbolsUnsupported"; applyDisabled: "applyDisabled"; brokenSyntax: "brokenSyntax"; editOverlap: "editOverlap"; encodingUnsupported: "encodingUnsupported"; expectedHashInvalid: "expectedHashInvalid"; expectedHashMissing: "expectedHashMissing"; expectedHashSetMismatch: "expectedHashSetMismatch"; expectedHashesRequired: "expectedHashesRequired"; fileLimit: "fileLimit"; hashMismatch: "hashMismatch"; lockTimeout: "lockTimeout"; lockUnavailable: "lockUnavailable"; matchLimit: "matchLimit"; patchLimit: "patchLimit"; pathEscape: "pathEscape"; postconditionExecutionFailed: "postconditionExecutionFailed"; postconditionFailed: "postconditionFailed"; recoveryFailed: "recoveryFailed"; rootInvalid: "rootInvalid"; rootUnavailable: "rootUnavailable"; selectionInvalid: "selectionInvalid"; snapshotRequired: "snapshotRequired"; sourceMismatch: "sourceMismatch"; symlinkTarget: "symlinkTarget"; targetUnavailable: "targetUnavailable"; transactionFailed: "transactionFailed"; classificationBudgetSpent: "classificationBudgetSpent"; classificationCandidateChunkTooLarge: "classificationCandidateChunkTooLarge"; classificationCandidateUnhydratable: "classificationCandidateUnhydratable"; classificationContextContinuationLoop: "classificationContextContinuationLoop"; classificationContextEmpty: "classificationContextEmpty"; classificationContextFailed: "classificationContextFailed"; classificationContextContractViolation: "classificationContextContractViolation"; classificationContextTooLarge: "classificationContextTooLarge"; classificationContextUnavailable: "classificationContextUnavailable"; classificationProviderError: "classificationProviderError"; classificationProviderUnavailable: "classificationProviderUnavailable"; classificationQuotaExhausted: "classificationQuotaExhausted"; classificationStateTooLarge: "classificationStateTooLarge"; invalidClassificationConfiguration: "invalidClassificationConfiguration"; invalidClassificationResponse: "invalidClassificationResponse"; unsupportedResponsePagination: "unsupportedResponsePagination"; securityValidationFailed: "securityValidationFailed"; }>; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>]>; export declare const ClasifyOutputSchema: z.ZodObject<{ queries: z.ZodArray; path: z.ZodOptional; line: z.ZodNumber; endLine: z.ZodNumber; exists: z.ZodNumber; probability: z.ZodNumber; }, z.core.$strict>>>>; hints: z.ZodOptional>; read: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">>; textSearch: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>>; }, z.core.$strict>>; resources: z.ZodArray>; path: z.ZodOptional; ref: z.ZodOptional; totalLines: z.ZodOptional; pages: z.ZodOptional; endLine: z.ZodOptional; scope: z.ZodOptional, z.ZodObject<{ byteOffset: z.ZodNumber; byteEnd: z.ZodNumber; totalBytes: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ lineRanges: z.ZodArray>; totalLines: z.ZodNumber; }, z.core.$strict>]>>; path: z.ZodOptional; source: z.ZodOptional; modified: z.ZodOptional; ref: z.ZodOptional; item: z.ZodOptional; }, z.core.$strict>>; view: z.ZodOptional; endLine: z.ZodOptional; totalLines: z.ZodOptional; }, z.core.$strict>>; limitations: z.ZodOptional>; hints: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">; }, z.core.$strict>>; answers: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ score: z.ZodNumber; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ error: z.ZodObject<{ errorCode: z.ZodEnum<{ timeout: "timeout"; closed: "closed"; invalidInput: "invalidInput"; notFound: "notFound"; authentication: "authentication"; permission: "permission"; rateLimited: "rateLimited"; invalidPattern: "invalidPattern"; invalidGlob: "invalidGlob"; notAFile: "notAFile"; notADirectory: "notADirectory"; outsideAllowedRoots: "outsideAllowedRoots"; pathValidationFailed: "pathValidationFailed"; languageRequired: "languageRequired"; languageUnsupported: "languageUnsupported"; languageMismatch: "languageMismatch"; languageFileRequired: "languageFileRequired"; languageDirectoryRequired: "languageDirectoryRequired"; invalidClassificationContext: "invalidClassificationContext"; invalidClassificationRequest: "invalidClassificationRequest"; classificationLocateUnsupported: "classificationLocateUnsupported"; classificationExpandedCellsExceeded: "classificationExpandedCellsExceeded"; pathNotFound: "pathNotFound"; versionNotFound: "versionNotFound"; anchorUnresolved: "anchorUnresolved"; classificationRateLimited: "classificationRateLimited"; executionFailed: "executionFailed"; cancelled: "cancelled"; outputContractViolation: "outputContractViolation"; toolUnavailable: "toolUnavailable"; missingConfiguration: "missingConfiguration"; responseTooLarge: "responseTooLarge"; staleSnapshot: "staleSnapshot"; busy: "busy"; config: "config"; contract: "contract"; duplicateRequest: "duplicateRequest"; policy: "policy"; response: "response"; runtime: "runtime"; unroutedTool: "unroutedTool"; binaryFileUnsupported: "binaryFileUnsupported"; contentSecurityLimit: "contentSecurityLimit"; fileAccessFailed: "fileAccessFailed"; fileReadFailed: "fileReadFailed"; fileTooLarge: "fileTooLarge"; invalidPagination: "invalidPagination"; largeSourceWindowOnly: "largeSourceWindowOnly"; noMatches: "noMatches"; pathPolicyDenied: "pathPolicyDenied"; permissionDenied: "permissionDenied"; symlinkEscape: "symlinkEscape"; capabilityUnavailable: "capabilityUnavailable"; configuration: "configuration"; credentialStoreUnavailable: "credentialStoreUnavailable"; decode: "decode"; httpStatus: "httpStatus"; providerError: "providerError"; redirectDenied: "redirectDenied"; server: "server"; transport: "transport"; unavailable: "unavailable"; cacheUnavailable: "cacheUnavailable"; checkoutDirty: "checkoutDirty"; commitMismatch: "commitMismatch"; gitFailed: "gitFailed"; gitUnavailable: "gitUnavailable"; persistentStorageDisabled: "persistentStorageDisabled"; documentSyncFailed: "documentSyncFailed"; requestFailed: "requestFailed"; serverCrashed: "serverCrashed"; serverUnavailable: "serverUnavailable"; workspaceRootInvalid: "workspaceRootInvalid"; invalidGraphQuery: "invalidGraphQuery"; scanFailed: "scanFailed"; scopeTooBroad: "scopeTooBroad"; symbolsUnsupported: "symbolsUnsupported"; applyDisabled: "applyDisabled"; brokenSyntax: "brokenSyntax"; editOverlap: "editOverlap"; encodingUnsupported: "encodingUnsupported"; expectedHashInvalid: "expectedHashInvalid"; expectedHashMissing: "expectedHashMissing"; expectedHashSetMismatch: "expectedHashSetMismatch"; expectedHashesRequired: "expectedHashesRequired"; fileLimit: "fileLimit"; hashMismatch: "hashMismatch"; lockTimeout: "lockTimeout"; lockUnavailable: "lockUnavailable"; matchLimit: "matchLimit"; patchLimit: "patchLimit"; pathEscape: "pathEscape"; postconditionExecutionFailed: "postconditionExecutionFailed"; postconditionFailed: "postconditionFailed"; recoveryFailed: "recoveryFailed"; rootInvalid: "rootInvalid"; rootUnavailable: "rootUnavailable"; selectionInvalid: "selectionInvalid"; snapshotRequired: "snapshotRequired"; sourceMismatch: "sourceMismatch"; symlinkTarget: "symlinkTarget"; targetUnavailable: "targetUnavailable"; transactionFailed: "transactionFailed"; classificationBudgetSpent: "classificationBudgetSpent"; classificationCandidateChunkTooLarge: "classificationCandidateChunkTooLarge"; classificationCandidateUnhydratable: "classificationCandidateUnhydratable"; classificationContextContinuationLoop: "classificationContextContinuationLoop"; classificationContextEmpty: "classificationContextEmpty"; classificationContextFailed: "classificationContextFailed"; classificationContextContractViolation: "classificationContextContractViolation"; classificationContextTooLarge: "classificationContextTooLarge"; classificationContextUnavailable: "classificationContextUnavailable"; classificationProviderError: "classificationProviderError"; classificationProviderUnavailable: "classificationProviderUnavailable"; classificationQuotaExhausted: "classificationQuotaExhausted"; classificationStateTooLarge: "classificationStateTooLarge"; invalidClassificationConfiguration: "invalidClassificationConfiguration"; invalidClassificationResponse: "invalidClassificationResponse"; unsupportedResponsePagination: "unsupportedResponsePagination"; securityValidationFailed: "securityValidationFailed"; }>; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>]>>>; error: z.ZodOptional; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>>; answers: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ score: z.ZodNumber; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ error: z.ZodObject<{ errorCode: z.ZodEnum<{ timeout: "timeout"; closed: "closed"; invalidInput: "invalidInput"; notFound: "notFound"; authentication: "authentication"; permission: "permission"; rateLimited: "rateLimited"; invalidPattern: "invalidPattern"; invalidGlob: "invalidGlob"; notAFile: "notAFile"; notADirectory: "notADirectory"; outsideAllowedRoots: "outsideAllowedRoots"; pathValidationFailed: "pathValidationFailed"; languageRequired: "languageRequired"; languageUnsupported: "languageUnsupported"; languageMismatch: "languageMismatch"; languageFileRequired: "languageFileRequired"; languageDirectoryRequired: "languageDirectoryRequired"; invalidClassificationContext: "invalidClassificationContext"; invalidClassificationRequest: "invalidClassificationRequest"; classificationLocateUnsupported: "classificationLocateUnsupported"; classificationExpandedCellsExceeded: "classificationExpandedCellsExceeded"; pathNotFound: "pathNotFound"; versionNotFound: "versionNotFound"; anchorUnresolved: "anchorUnresolved"; classificationRateLimited: "classificationRateLimited"; executionFailed: "executionFailed"; cancelled: "cancelled"; outputContractViolation: "outputContractViolation"; toolUnavailable: "toolUnavailable"; missingConfiguration: "missingConfiguration"; responseTooLarge: "responseTooLarge"; staleSnapshot: "staleSnapshot"; busy: "busy"; config: "config"; contract: "contract"; duplicateRequest: "duplicateRequest"; policy: "policy"; response: "response"; runtime: "runtime"; unroutedTool: "unroutedTool"; binaryFileUnsupported: "binaryFileUnsupported"; contentSecurityLimit: "contentSecurityLimit"; fileAccessFailed: "fileAccessFailed"; fileReadFailed: "fileReadFailed"; fileTooLarge: "fileTooLarge"; invalidPagination: "invalidPagination"; largeSourceWindowOnly: "largeSourceWindowOnly"; noMatches: "noMatches"; pathPolicyDenied: "pathPolicyDenied"; permissionDenied: "permissionDenied"; symlinkEscape: "symlinkEscape"; capabilityUnavailable: "capabilityUnavailable"; configuration: "configuration"; credentialStoreUnavailable: "credentialStoreUnavailable"; decode: "decode"; httpStatus: "httpStatus"; providerError: "providerError"; redirectDenied: "redirectDenied"; server: "server"; transport: "transport"; unavailable: "unavailable"; cacheUnavailable: "cacheUnavailable"; checkoutDirty: "checkoutDirty"; commitMismatch: "commitMismatch"; gitFailed: "gitFailed"; gitUnavailable: "gitUnavailable"; persistentStorageDisabled: "persistentStorageDisabled"; documentSyncFailed: "documentSyncFailed"; requestFailed: "requestFailed"; serverCrashed: "serverCrashed"; serverUnavailable: "serverUnavailable"; workspaceRootInvalid: "workspaceRootInvalid"; invalidGraphQuery: "invalidGraphQuery"; scanFailed: "scanFailed"; scopeTooBroad: "scopeTooBroad"; symbolsUnsupported: "symbolsUnsupported"; applyDisabled: "applyDisabled"; brokenSyntax: "brokenSyntax"; editOverlap: "editOverlap"; encodingUnsupported: "encodingUnsupported"; expectedHashInvalid: "expectedHashInvalid"; expectedHashMissing: "expectedHashMissing"; expectedHashSetMismatch: "expectedHashSetMismatch"; expectedHashesRequired: "expectedHashesRequired"; fileLimit: "fileLimit"; hashMismatch: "hashMismatch"; lockTimeout: "lockTimeout"; lockUnavailable: "lockUnavailable"; matchLimit: "matchLimit"; patchLimit: "patchLimit"; pathEscape: "pathEscape"; postconditionExecutionFailed: "postconditionExecutionFailed"; postconditionFailed: "postconditionFailed"; recoveryFailed: "recoveryFailed"; rootInvalid: "rootInvalid"; rootUnavailable: "rootUnavailable"; selectionInvalid: "selectionInvalid"; snapshotRequired: "snapshotRequired"; sourceMismatch: "sourceMismatch"; symlinkTarget: "symlinkTarget"; targetUnavailable: "targetUnavailable"; transactionFailed: "transactionFailed"; classificationBudgetSpent: "classificationBudgetSpent"; classificationCandidateChunkTooLarge: "classificationCandidateChunkTooLarge"; classificationCandidateUnhydratable: "classificationCandidateUnhydratable"; classificationContextContinuationLoop: "classificationContextContinuationLoop"; classificationContextEmpty: "classificationContextEmpty"; classificationContextFailed: "classificationContextFailed"; classificationContextContractViolation: "classificationContextContractViolation"; classificationContextTooLarge: "classificationContextTooLarge"; classificationContextUnavailable: "classificationContextUnavailable"; classificationProviderError: "classificationProviderError"; classificationProviderUnavailable: "classificationProviderUnavailable"; classificationQuotaExhausted: "classificationQuotaExhausted"; classificationStateTooLarge: "classificationStateTooLarge"; invalidClassificationConfiguration: "invalidClassificationConfiguration"; invalidClassificationResponse: "invalidClassificationResponse"; unsupportedResponsePagination: "unsupportedResponsePagination"; securityValidationFailed: "securityValidationFailed"; }>; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>]>>>; error: z.ZodOptional; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; limitations: z.ZodOptional>; }, z.core.$strict>>; next: z.ZodOptional; reasoning: z.ZodOptional; mainGoal: z.ZodOptional; resources: z.ZodArray; value: z.ZodUnion, z.ZodArray]>; }, z.core.$strict> | z.ZodUnion; value: z.ZodUnion, z.ZodArray]>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; tool: z.ZodEnum<{ ghSearchRepo: "ghSearchRepo"; ghSearchCode: "ghSearchCode"; ghStructure: "ghStructure"; ghGetFileContent: "ghGetFileContent"; ghSearchHistory: "ghSearchHistory"; ghGetHistoryItem: "ghGetHistoryItem"; artifactSearch: "artifactSearch"; localSearch: "localSearch"; structureSearch: "structureSearch"; astSearch: "astSearch"; astTopology: "astTopology"; localFetch: "localFetch"; lspSearch: "lspSearch"; }>; query: z.ZodObject<{ reasoning: z.ZodOptional; owner: z.ZodOptional; repo: z.ZodOptional; path: z.ZodOptional; ref: z.ZodOptional; }, z.core.$catchall>; candidateEvidence: z.ZodOptional>; maxChars: z.ZodDefault; prefilter: z.ZodOptional>; resumePageSize: z.ZodOptional; }, z.core.$strict>]>>; questions: z.ZodArray; type: z.ZodEnum<{ locate: "locate"; sufficient: "sufficient"; relevant: "relevant"; supports: "supports"; }>; ask: z.ZodString; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"adds">; ask: z.ZodString; known: z.ZodUnion, z.ZodArray]>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"yesno">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodOptional, z.ZodArray]>, z.ZodNull]>; false: z.ZodUnion, z.ZodArray]>, z.ZodNull]>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"choice">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodRecord, z.ZodArray]>, z.ZodNull]>>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"score">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodArray, z.ZodArray]>>; }, z.core.$strict>], "type">>; carry: z.ZodOptional; path: z.ZodOptional; line: z.ZodNumber; endLine: z.ZodNumber; exists: z.ZodNumber; probability: z.ZodNumber; }, z.core.$strict>>>>; debug: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; best: z.ZodOptional; exists: z.ZodNumber; line: z.ZodNumber; endLine: z.ZodNumber; probability: z.ZodNumber; hints: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">; }, z.core.$strict>>; }, z.core.$strict>>>>; hints: z.ZodOptional>; read: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">>; textSearch: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>>; }, z.core.$strict>>; resources: z.ZodArray; pages: z.ZodArray, z.ZodObject<{ choice: z.ZodString; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ score: z.ZodNumber; confidence: z.ZodNumber; probabilities: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ exists: z.ZodNumber; matches: z.ZodArray; probability: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ error: z.ZodObject<{ errorCode: z.ZodEnum<{ timeout: "timeout"; closed: "closed"; invalidInput: "invalidInput"; notFound: "notFound"; authentication: "authentication"; permission: "permission"; rateLimited: "rateLimited"; invalidPattern: "invalidPattern"; invalidGlob: "invalidGlob"; notAFile: "notAFile"; notADirectory: "notADirectory"; outsideAllowedRoots: "outsideAllowedRoots"; pathValidationFailed: "pathValidationFailed"; languageRequired: "languageRequired"; languageUnsupported: "languageUnsupported"; languageMismatch: "languageMismatch"; languageFileRequired: "languageFileRequired"; languageDirectoryRequired: "languageDirectoryRequired"; invalidClassificationContext: "invalidClassificationContext"; invalidClassificationRequest: "invalidClassificationRequest"; classificationLocateUnsupported: "classificationLocateUnsupported"; classificationExpandedCellsExceeded: "classificationExpandedCellsExceeded"; pathNotFound: "pathNotFound"; versionNotFound: "versionNotFound"; anchorUnresolved: "anchorUnresolved"; classificationRateLimited: "classificationRateLimited"; executionFailed: "executionFailed"; cancelled: "cancelled"; outputContractViolation: "outputContractViolation"; toolUnavailable: "toolUnavailable"; missingConfiguration: "missingConfiguration"; responseTooLarge: "responseTooLarge"; staleSnapshot: "staleSnapshot"; busy: "busy"; config: "config"; contract: "contract"; duplicateRequest: "duplicateRequest"; policy: "policy"; response: "response"; runtime: "runtime"; unroutedTool: "unroutedTool"; binaryFileUnsupported: "binaryFileUnsupported"; contentSecurityLimit: "contentSecurityLimit"; fileAccessFailed: "fileAccessFailed"; fileReadFailed: "fileReadFailed"; fileTooLarge: "fileTooLarge"; invalidPagination: "invalidPagination"; largeSourceWindowOnly: "largeSourceWindowOnly"; noMatches: "noMatches"; pathPolicyDenied: "pathPolicyDenied"; permissionDenied: "permissionDenied"; symlinkEscape: "symlinkEscape"; capabilityUnavailable: "capabilityUnavailable"; configuration: "configuration"; credentialStoreUnavailable: "credentialStoreUnavailable"; decode: "decode"; httpStatus: "httpStatus"; providerError: "providerError"; redirectDenied: "redirectDenied"; server: "server"; transport: "transport"; unavailable: "unavailable"; cacheUnavailable: "cacheUnavailable"; checkoutDirty: "checkoutDirty"; commitMismatch: "commitMismatch"; gitFailed: "gitFailed"; gitUnavailable: "gitUnavailable"; persistentStorageDisabled: "persistentStorageDisabled"; documentSyncFailed: "documentSyncFailed"; requestFailed: "requestFailed"; serverCrashed: "serverCrashed"; serverUnavailable: "serverUnavailable"; workspaceRootInvalid: "workspaceRootInvalid"; invalidGraphQuery: "invalidGraphQuery"; scanFailed: "scanFailed"; scopeTooBroad: "scopeTooBroad"; symbolsUnsupported: "symbolsUnsupported"; applyDisabled: "applyDisabled"; brokenSyntax: "brokenSyntax"; editOverlap: "editOverlap"; encodingUnsupported: "encodingUnsupported"; expectedHashInvalid: "expectedHashInvalid"; expectedHashMissing: "expectedHashMissing"; expectedHashSetMismatch: "expectedHashSetMismatch"; expectedHashesRequired: "expectedHashesRequired"; fileLimit: "fileLimit"; hashMismatch: "hashMismatch"; lockTimeout: "lockTimeout"; lockUnavailable: "lockUnavailable"; matchLimit: "matchLimit"; patchLimit: "patchLimit"; pathEscape: "pathEscape"; postconditionExecutionFailed: "postconditionExecutionFailed"; postconditionFailed: "postconditionFailed"; recoveryFailed: "recoveryFailed"; rootInvalid: "rootInvalid"; rootUnavailable: "rootUnavailable"; selectionInvalid: "selectionInvalid"; snapshotRequired: "snapshotRequired"; sourceMismatch: "sourceMismatch"; symlinkTarget: "symlinkTarget"; targetUnavailable: "targetUnavailable"; transactionFailed: "transactionFailed"; classificationBudgetSpent: "classificationBudgetSpent"; classificationCandidateChunkTooLarge: "classificationCandidateChunkTooLarge"; classificationCandidateUnhydratable: "classificationCandidateUnhydratable"; classificationContextContinuationLoop: "classificationContextContinuationLoop"; classificationContextEmpty: "classificationContextEmpty"; classificationContextFailed: "classificationContextFailed"; classificationContextContractViolation: "classificationContextContractViolation"; classificationContextTooLarge: "classificationContextTooLarge"; classificationContextUnavailable: "classificationContextUnavailable"; classificationProviderError: "classificationProviderError"; classificationProviderUnavailable: "classificationProviderUnavailable"; classificationQuotaExhausted: "classificationQuotaExhausted"; classificationStateTooLarge: "classificationStateTooLarge"; invalidClassificationConfiguration: "invalidClassificationConfiguration"; invalidClassificationResponse: "invalidClassificationResponse"; unsupportedResponsePagination: "unsupportedResponsePagination"; securityValidationFailed: "securityValidationFailed"; }>; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>]>>; scope: z.ZodOptional, z.ZodObject<{ byteOffset: z.ZodNumber; byteEnd: z.ZodNumber; totalBytes: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ lineRanges: z.ZodArray>; totalLines: z.ZodNumber; }, z.core.$strict>]>>; source: z.ZodOptional; modified: z.ZodOptional; ref: z.ZodOptional; item: z.ZodOptional; }, z.core.$strict>>; view: z.ZodOptional; endLine: z.ZodOptional; totalLines: z.ZodOptional; }, z.core.$strict>>; limitations: z.ZodOptional>; hints: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">; }, z.core.$strict>>; usage: z.ZodOptional; outputTokens: z.ZodOptional; ms: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ error: z.ZodObject<{ errorCode: z.ZodEnum<{ timeout: "timeout"; closed: "closed"; invalidInput: "invalidInput"; notFound: "notFound"; authentication: "authentication"; permission: "permission"; rateLimited: "rateLimited"; invalidPattern: "invalidPattern"; invalidGlob: "invalidGlob"; notAFile: "notAFile"; notADirectory: "notADirectory"; outsideAllowedRoots: "outsideAllowedRoots"; pathValidationFailed: "pathValidationFailed"; languageRequired: "languageRequired"; languageUnsupported: "languageUnsupported"; languageMismatch: "languageMismatch"; languageFileRequired: "languageFileRequired"; languageDirectoryRequired: "languageDirectoryRequired"; invalidClassificationContext: "invalidClassificationContext"; invalidClassificationRequest: "invalidClassificationRequest"; classificationLocateUnsupported: "classificationLocateUnsupported"; classificationExpandedCellsExceeded: "classificationExpandedCellsExceeded"; pathNotFound: "pathNotFound"; versionNotFound: "versionNotFound"; anchorUnresolved: "anchorUnresolved"; classificationRateLimited: "classificationRateLimited"; executionFailed: "executionFailed"; cancelled: "cancelled"; outputContractViolation: "outputContractViolation"; toolUnavailable: "toolUnavailable"; missingConfiguration: "missingConfiguration"; responseTooLarge: "responseTooLarge"; staleSnapshot: "staleSnapshot"; busy: "busy"; config: "config"; contract: "contract"; duplicateRequest: "duplicateRequest"; policy: "policy"; response: "response"; runtime: "runtime"; unroutedTool: "unroutedTool"; binaryFileUnsupported: "binaryFileUnsupported"; contentSecurityLimit: "contentSecurityLimit"; fileAccessFailed: "fileAccessFailed"; fileReadFailed: "fileReadFailed"; fileTooLarge: "fileTooLarge"; invalidPagination: "invalidPagination"; largeSourceWindowOnly: "largeSourceWindowOnly"; noMatches: "noMatches"; pathPolicyDenied: "pathPolicyDenied"; permissionDenied: "permissionDenied"; symlinkEscape: "symlinkEscape"; capabilityUnavailable: "capabilityUnavailable"; configuration: "configuration"; credentialStoreUnavailable: "credentialStoreUnavailable"; decode: "decode"; httpStatus: "httpStatus"; providerError: "providerError"; redirectDenied: "redirectDenied"; server: "server"; transport: "transport"; unavailable: "unavailable"; cacheUnavailable: "cacheUnavailable"; checkoutDirty: "checkoutDirty"; commitMismatch: "commitMismatch"; gitFailed: "gitFailed"; gitUnavailable: "gitUnavailable"; persistentStorageDisabled: "persistentStorageDisabled"; documentSyncFailed: "documentSyncFailed"; requestFailed: "requestFailed"; serverCrashed: "serverCrashed"; serverUnavailable: "serverUnavailable"; workspaceRootInvalid: "workspaceRootInvalid"; invalidGraphQuery: "invalidGraphQuery"; scanFailed: "scanFailed"; scopeTooBroad: "scopeTooBroad"; symbolsUnsupported: "symbolsUnsupported"; applyDisabled: "applyDisabled"; brokenSyntax: "brokenSyntax"; editOverlap: "editOverlap"; encodingUnsupported: "encodingUnsupported"; expectedHashInvalid: "expectedHashInvalid"; expectedHashMissing: "expectedHashMissing"; expectedHashSetMismatch: "expectedHashSetMismatch"; expectedHashesRequired: "expectedHashesRequired"; fileLimit: "fileLimit"; hashMismatch: "hashMismatch"; lockTimeout: "lockTimeout"; lockUnavailable: "lockUnavailable"; matchLimit: "matchLimit"; patchLimit: "patchLimit"; pathEscape: "pathEscape"; postconditionExecutionFailed: "postconditionExecutionFailed"; postconditionFailed: "postconditionFailed"; recoveryFailed: "recoveryFailed"; rootInvalid: "rootInvalid"; rootUnavailable: "rootUnavailable"; selectionInvalid: "selectionInvalid"; snapshotRequired: "snapshotRequired"; sourceMismatch: "sourceMismatch"; symlinkTarget: "symlinkTarget"; targetUnavailable: "targetUnavailable"; transactionFailed: "transactionFailed"; classificationBudgetSpent: "classificationBudgetSpent"; classificationCandidateChunkTooLarge: "classificationCandidateChunkTooLarge"; classificationCandidateUnhydratable: "classificationCandidateUnhydratable"; classificationContextContinuationLoop: "classificationContextContinuationLoop"; classificationContextEmpty: "classificationContextEmpty"; classificationContextFailed: "classificationContextFailed"; classificationContextContractViolation: "classificationContextContractViolation"; classificationContextTooLarge: "classificationContextTooLarge"; classificationContextUnavailable: "classificationContextUnavailable"; classificationProviderError: "classificationProviderError"; classificationProviderUnavailable: "classificationProviderUnavailable"; classificationQuotaExhausted: "classificationQuotaExhausted"; classificationStateTooLarge: "classificationStateTooLarge"; invalidClassificationConfiguration: "invalidClassificationConfiguration"; invalidClassificationResponse: "invalidClassificationResponse"; unsupportedResponsePagination: "unsupportedResponsePagination"; securityValidationFailed: "securityValidationFailed"; }>; error: z.ZodString; hints: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; scope: z.ZodOptional, z.ZodObject<{ byteOffset: z.ZodNumber; byteEnd: z.ZodNumber; totalBytes: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ lineRanges: z.ZodArray>; totalLines: z.ZodNumber; }, z.core.$strict>]>>; source: z.ZodOptional; modified: z.ZodOptional; ref: z.ZodOptional; item: z.ZodOptional; }, z.core.$strict>>; view: z.ZodOptional; endLine: z.ZodOptional; totalLines: z.ZodOptional; }, z.core.$strict>>; limitations: z.ZodOptional>; hints: z.ZodOptional; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>, z.ZodObject<{ tool: z.ZodLiteral; query: z.ZodType>; }, z.core.$loose>], "tool">; }, z.core.$strict>>; usage: z.ZodOptional; outputTokens: z.ZodOptional; ms: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>]>>; limitations: z.ZodOptional>; }, z.core.$strict>>; next: z.ZodOptional; reasoning: z.ZodOptional; mainGoal: z.ZodOptional; resources: z.ZodArray; value: z.ZodUnion, z.ZodArray]>; }, z.core.$strict> | z.ZodUnion; value: z.ZodUnion, z.ZodArray]>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; tool: z.ZodEnum<{ ghSearchRepo: "ghSearchRepo"; ghSearchCode: "ghSearchCode"; ghStructure: "ghStructure"; ghGetFileContent: "ghGetFileContent"; ghSearchHistory: "ghSearchHistory"; ghGetHistoryItem: "ghGetHistoryItem"; artifactSearch: "artifactSearch"; localSearch: "localSearch"; structureSearch: "structureSearch"; astSearch: "astSearch"; astTopology: "astTopology"; localFetch: "localFetch"; lspSearch: "lspSearch"; }>; query: z.ZodObject<{ reasoning: z.ZodOptional; owner: z.ZodOptional; repo: z.ZodOptional; path: z.ZodOptional; ref: z.ZodOptional; }, z.core.$catchall>; candidateEvidence: z.ZodOptional>; maxChars: z.ZodDefault; prefilter: z.ZodOptional>; resumePageSize: z.ZodOptional; }, z.core.$strict>]>>; questions: z.ZodArray; type: z.ZodEnum<{ locate: "locate"; sufficient: "sufficient"; relevant: "relevant"; supports: "supports"; }>; ask: z.ZodString; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"adds">; ask: z.ZodString; known: z.ZodUnion, z.ZodArray]>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"yesno">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodOptional, z.ZodArray]>, z.ZodNull]>; false: z.ZodUnion, z.ZodArray]>, z.ZodNull]>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"choice">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodRecord, z.ZodArray]>, z.ZodNull]>>; }, z.core.$strict>, z.ZodObject<{ id: z.ZodOptional; type: z.ZodLiteral<"score">; ask: z.ZodUnion, z.ZodArray]>; labels: z.ZodArray, z.ZodArray]>>; }, z.core.$strict>], "type">>; carry: z.ZodOptional; path: z.ZodOptional; line: z.ZodNumber; endLine: z.ZodNumber; exists: z.ZodNumber; probability: z.ZodNumber; }, z.core.$strict>>>>; debug: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; usage: z.ZodOptional; outputTokens: z.ZodOptional; ms: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>]>>; }, z.core.$strict>; export declare function directToolOutputSchema(toolName: string): z.ZodType;