import { z } from 'zod'; export type ExplorerType = 'playwright' | 'cypress'; export type AdapterType = 'playwright' | 'cypress-e2e' | 'cypress-component' | 'api' | 'accessibility'; declare const FormLoginAuthSchema: z.ZodObject<{ type: z.ZodLiteral<"form-login">; loginUrl: z.ZodString; credentials: z.ZodObject<{ username: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; }, { username: string; password: string; }>; selectors: z.ZodObject<{ username: z.ZodString; password: z.ZodString; submit: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; submit: string; }, { username: string; password: string; submit: string; }>; successIndicator: z.ZodObject<{ urlContains: z.ZodOptional; selectorVisible: z.ZodOptional; }, "strip", z.ZodTypeAny, { urlContains?: string | undefined; selectorVisible?: string | undefined; }, { urlContains?: string | undefined; selectorVisible?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }>; declare const StorageStateAuthSchema: z.ZodObject<{ type: z.ZodLiteral<"storage-state">; path: z.ZodString; }, "strip", z.ZodTypeAny, { type: "storage-state"; path: string; }, { type: "storage-state"; path: string; }>; export declare const AuthConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"form-login">; loginUrl: z.ZodString; credentials: z.ZodObject<{ username: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; }, { username: string; password: string; }>; selectors: z.ZodObject<{ username: z.ZodString; password: z.ZodString; submit: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; submit: string; }, { username: string; password: string; submit: string; }>; successIndicator: z.ZodObject<{ urlContains: z.ZodOptional; selectorVisible: z.ZodOptional; }, "strip", z.ZodTypeAny, { urlContains?: string | undefined; selectorVisible?: string | undefined; }, { urlContains?: string | undefined; selectorVisible?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"storage-state">; path: z.ZodString; }, "strip", z.ZodTypeAny, { type: "storage-state"; path: string; }, { type: "storage-state"; path: string; }>]>; export type FormLoginAuthConfig = z.infer; export type StorageStateAuthConfig = z.infer; export type AuthConfig = z.infer; export declare const HarnessConfigSchema: z.ZodObject<{ maxPagesToScan: z.ZodNumber; maxDepth: z.ZodNumber; minPagesForConfidence: z.ZodDefault; timeoutMs: z.ZodNumber; retryCount: z.ZodNumber; llmTokenBudget: z.ZodNumber; llmMaxOutputTokensPerCall: z.ZodOptional; testGenerationLimit: z.ZodNumber; enableLlmScenarios: z.ZodDefault; readOnlyMode: z.ZodBoolean; requireHumanReview: z.ZodBoolean; failOnConsoleError: z.ZodBoolean; explorer: z.ZodDefault>; defaultAdapter: z.ZodDefault>; adapters: z.ZodDefault, "many">>; llmProvider: z.ZodOptional>; llmModel: z.ZodOptional; outputDir: z.ZodOptional; scoringWeights: z.ZodOptional; high: z.ZodOptional; medium: z.ZodOptional; low: z.ZodOptional; }, "strip", z.ZodTypeAny, { critical?: number | undefined; high?: number | undefined; medium?: number | undefined; low?: number | undefined; }, { critical?: number | undefined; high?: number | undefined; medium?: number | undefined; low?: number | undefined; }>>; auth: z.ZodOptional; loginUrl: z.ZodString; credentials: z.ZodObject<{ username: z.ZodString; password: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; }, { username: string; password: string; }>; selectors: z.ZodObject<{ username: z.ZodString; password: z.ZodString; submit: z.ZodString; }, "strip", z.ZodTypeAny, { username: string; password: string; submit: string; }, { username: string; password: string; submit: string; }>; successIndicator: z.ZodObject<{ urlContains: z.ZodOptional; selectorVisible: z.ZodOptional; }, "strip", z.ZodTypeAny, { urlContains?: string | undefined; selectorVisible?: string | undefined; }, { urlContains?: string | undefined; selectorVisible?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }, { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"storage-state">; path: z.ZodString; }, "strip", z.ZodTypeAny, { type: "storage-state"; path: string; }, { type: "storage-state"; path: string; }>]>>; }, "strip", z.ZodTypeAny, { maxPagesToScan: number; maxDepth: number; minPagesForConfidence: number; timeoutMs: number; retryCount: number; llmTokenBudget: number; testGenerationLimit: number; enableLlmScenarios: boolean; readOnlyMode: boolean; requireHumanReview: boolean; failOnConsoleError: boolean; explorer: "playwright" | "cypress"; defaultAdapter: "playwright" | "cypress-e2e" | "cypress-component" | "api" | "accessibility"; adapters: ("playwright" | "cypress-e2e" | "cypress-component" | "api" | "accessibility")[]; llmMaxOutputTokensPerCall?: number | undefined; llmProvider?: "anthropic" | undefined; llmModel?: string | undefined; outputDir?: string | undefined; scoringWeights?: { critical?: number | undefined; high?: number | undefined; medium?: number | undefined; low?: number | undefined; } | undefined; auth?: { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; } | { type: "storage-state"; path: string; } | undefined; }, { maxPagesToScan: number; maxDepth: number; timeoutMs: number; retryCount: number; llmTokenBudget: number; testGenerationLimit: number; readOnlyMode: boolean; requireHumanReview: boolean; failOnConsoleError: boolean; minPagesForConfidence?: number | undefined; llmMaxOutputTokensPerCall?: number | undefined; enableLlmScenarios?: boolean | undefined; explorer?: "playwright" | "cypress" | undefined; defaultAdapter?: "playwright" | "cypress-e2e" | "cypress-component" | "api" | "accessibility" | undefined; adapters?: ("playwright" | "cypress-e2e" | "cypress-component" | "api" | "accessibility")[] | undefined; llmProvider?: "anthropic" | undefined; llmModel?: string | undefined; outputDir?: string | undefined; scoringWeights?: { critical?: number | undefined; high?: number | undefined; medium?: number | undefined; low?: number | undefined; } | undefined; auth?: { type: "form-login"; loginUrl: string; credentials: { username: string; password: string; }; selectors: { username: string; password: string; submit: string; }; successIndicator: { urlContains?: string | undefined; selectorVisible?: string | undefined; }; } | { type: "storage-state"; path: string; } | undefined; }>; export type HarnessConfig = z.infer; export declare function resolveMaxOutputTokensPerLlmCall(config: HarnessConfig): number; export declare const AuthPathRequirementsSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"storage-state">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "storage-state"; instruction: string; }, { method: "storage-state"; instruction: string; }>, z.ZodObject<{ method: z.ZodLiteral<"credentials">; fields: z.ZodArray; observedOptions: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; }, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; }>, z.ZodObject<{ method: z.ZodLiteral<"unknown">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "unknown"; instruction: string; }, { method: "unknown"; instruction: string; }>]>; export declare const AuthPathSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; type: z.ZodEnum<["oauth", "oauth-unknown", "form-login", "form-multi", "magic-link", "unknown"]>; provider: z.ZodNullable; source: z.ZodEnum<["built-in", "user-local", "heuristic"]>; automatable: z.ZodBoolean; confidence: z.ZodEnum<["high", "medium", "low"]>; requirements: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"storage-state">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "storage-state"; instruction: string; }, { method: "storage-state"; instruction: string; }>, z.ZodObject<{ method: z.ZodLiteral<"credentials">; fields: z.ZodArray; observedOptions: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; }, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; }>, z.ZodObject<{ method: z.ZodLiteral<"unknown">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "unknown"; instruction: string; }, { method: "unknown"; instruction: string; }>]>; }, "strip", z.ZodTypeAny, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; } | { method: "unknown"; instruction: string; }; }, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; } | { method: "unknown"; instruction: string; }; }>; export declare const DetectedAuthSchema: z.ZodObject<{ hasAuth: z.ZodBoolean; type: z.ZodEnum<["none", "form-login", "oauth", "magic-link", "unknown"]>; provider: z.ZodNullable; loginUrl: z.ZodNullable; observedSelectors: z.ZodNullable; passwordSelector: z.ZodNullable; submitSelector: z.ZodNullable; }, "strip", z.ZodTypeAny, { usernameSelector: string | null; passwordSelector: string | null; submitSelector: string | null; }, { usernameSelector: string | null; passwordSelector: string | null; submitSelector: string | null; }>>; oauthButtons: z.ZodArray, "many">; authOptions: z.ZodOptional; provider: z.ZodNullable; source: z.ZodEnum<["built-in", "user-local", "heuristic"]>; automatable: z.ZodBoolean; confidence: z.ZodEnum<["high", "medium", "low"]>; requirements: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"storage-state">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "storage-state"; instruction: string; }, { method: "storage-state"; instruction: string; }>, z.ZodObject<{ method: z.ZodLiteral<"credentials">; fields: z.ZodArray; observedOptions: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; }, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; }>, z.ZodObject<{ method: z.ZodLiteral<"unknown">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "unknown"; instruction: string; }, { method: "unknown"; instruction: string; }>]>; }, "strip", z.ZodTypeAny, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; } | { method: "unknown"; instruction: string; }; }, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; } | { method: "unknown"; instruction: string; }; }>, "many">>; recommendation: z.ZodString; }, "strip", z.ZodTypeAny, { type: "unknown" | "form-login" | "oauth" | "magic-link" | "none"; loginUrl: string | null; provider: string | null; hasAuth: boolean; observedSelectors: { usernameSelector: string | null; passwordSelector: string | null; submitSelector: string | null; } | null; oauthButtons: { text: string; provider: string; }[]; recommendation: string; authOptions?: { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; } | { method: "unknown"; instruction: string; }; }[] | undefined; }, { type: "unknown" | "form-login" | "oauth" | "magic-link" | "none"; loginUrl: string | null; provider: string | null; hasAuth: boolean; observedSelectors: { usernameSelector: string | null; passwordSelector: string | null; submitSelector: string | null; } | null; oauthButtons: { text: string; provider: string; }[]; recommendation: string; authOptions?: { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; } | { method: "unknown"; instruction: string; }; }[] | undefined; }>; export type DetectedAuth = z.infer; export declare const AuthExplorationSchema: z.ZodObject<{ url: z.ZodString; authRequired: z.ZodBoolean; authScope: z.ZodEnum<["site-wide", "section-only", "optional", "none"]>; authPaths: z.ZodArray; provider: z.ZodNullable; source: z.ZodEnum<["built-in", "user-local", "heuristic"]>; automatable: z.ZodBoolean; confidence: z.ZodEnum<["high", "medium", "low"]>; requirements: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ method: z.ZodLiteral<"storage-state">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "storage-state"; instruction: string; }, { method: "storage-state"; instruction: string; }>, z.ZodObject<{ method: z.ZodLiteral<"credentials">; fields: z.ZodArray; observedOptions: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }, { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; }, { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; }>, z.ZodObject<{ method: z.ZodLiteral<"unknown">; instruction: z.ZodString; }, "strip", z.ZodTypeAny, { method: "unknown"; instruction: string; }, { method: "unknown"; instruction: string; }>]>; }, "strip", z.ZodTypeAny, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; } | { method: "unknown"; instruction: string; }; }, { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; } | { method: "unknown"; instruction: string; }; }>, "many">; observedAt: z.ZodString; suggestedAgentBehavior: z.ZodString; unrecognizedButtons: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { url: string; authRequired: boolean; authScope: "none" | "site-wide" | "section-only" | "optional"; authPaths: { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions: string[]; }[]; } | { method: "unknown"; instruction: string; }; }[]; observedAt: string; suggestedAgentBehavior: string; unrecognizedButtons: { label: string; hint: string; }[]; }, { url: string; authRequired: boolean; authScope: "none" | "site-wide" | "section-only" | "optional"; authPaths: { type: "unknown" | "form-login" | "oauth" | "oauth-unknown" | "form-multi" | "magic-link"; label: string; id: string; provider: string | null; source: "built-in" | "user-local" | "heuristic"; automatable: boolean; confidence: "high" | "medium" | "low"; requirements: { method: "storage-state"; instruction: string; } | { method: "credentials"; fields: { type: "password" | "text" | "email" | "select" | "checkbox"; name: string; label: string; observedOptions?: string[] | undefined; }[]; } | { method: "unknown"; instruction: string; }; }[]; observedAt: string; suggestedAgentBehavior: string; unrecognizedButtons?: { label: string; hint: string; }[] | undefined; }>; export type AuthPathRequirements = z.infer; export type AuthPath = z.infer; export type AuthExploration = z.infer; export {}; //# sourceMappingURL=config.schema.d.ts.map