import 'reflect-metadata'; import { z } from 'zod'; import { FlowBase, FlowRunOptions, ScopeEntry, ServerRequest } from '@frontmcp/sdk'; declare const inputSchema: z.ZodObject<{ request: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; response: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; next: z.ZodOptional, z.ZodUnknown>>; }, "strip", z.ZodTypeAny, { request: {} & { [k: string]: unknown; }; response: {} & { [k: string]: unknown; }; next?: ((...args: unknown[]) => unknown) | undefined; }, { request: {} & { [k: string]: unknown; }; response: {} & { [k: string]: unknown; }; next?: ((...args: unknown[]) => unknown) | undefined; }>; export declare const outputSchema: z.ZodUnion<[z.ZodObject<{ kind: z.ZodLiteral<"json">; status: z.ZodLiteral<200>; contentType: z.ZodLiteral<"application/json; charset=utf-8">; body: z.ZodObject<{ issuer: z.ZodString; authorization_endpoint: z.ZodString; token_endpoint: z.ZodString; userinfo_endpoint: z.ZodOptional; jwks_uri: z.ZodString; registration_endpoint: z.ZodOptional; token_endpoint_auth_methods_supported: z.ZodOptional, "many">>; response_types_supported: z.ZodDefault, "many">>; grant_types_supported: z.ZodDefault, "many">>; scopes_supported: z.ZodDefault>; code_challenge_methods_supported: z.ZodDefault, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ issuer: z.ZodString; authorization_endpoint: z.ZodString; token_endpoint: z.ZodString; userinfo_endpoint: z.ZodOptional; jwks_uri: z.ZodString; registration_endpoint: z.ZodOptional; token_endpoint_auth_methods_supported: z.ZodOptional, "many">>; response_types_supported: z.ZodDefault, "many">>; grant_types_supported: z.ZodDefault, "many">>; scopes_supported: z.ZodDefault>; code_challenge_methods_supported: z.ZodDefault, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ issuer: z.ZodString; authorization_endpoint: z.ZodString; token_endpoint: z.ZodString; userinfo_endpoint: z.ZodOptional; jwks_uri: z.ZodString; registration_endpoint: z.ZodOptional; token_endpoint_auth_methods_supported: z.ZodOptional, "many">>; response_types_supported: z.ZodDefault, "many">>; grant_types_supported: z.ZodDefault, "many">>; scopes_supported: z.ZodDefault>; code_challenge_methods_supported: z.ZodDefault, "many">>; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { kind: "json"; status: 200; body: { scopes_supported: string[]; issuer: string; authorization_endpoint: string; token_endpoint: string; jwks_uri: string; response_types_supported: "code"[]; grant_types_supported: ("authorization_code" | "refresh_token")[]; code_challenge_methods_supported: "S256"[]; userinfo_endpoint?: string | undefined; registration_endpoint?: string | undefined; token_endpoint_auth_methods_supported?: ("client_secret_basic" | "client_secret_post" | "private_key_jwt")[] | undefined; } & { [k: string]: unknown; }; contentType: "application/json; charset=utf-8"; }, { kind: "json"; status: 200; body: { issuer: string; authorization_endpoint: string; token_endpoint: string; jwks_uri: string; scopes_supported?: string[] | undefined; userinfo_endpoint?: string | undefined; registration_endpoint?: string | undefined; token_endpoint_auth_methods_supported?: ("client_secret_basic" | "client_secret_post" | "private_key_jwt")[] | undefined; response_types_supported?: "code"[] | undefined; grant_types_supported?: ("authorization_code" | "refresh_token")[] | undefined; code_challenge_methods_supported?: "S256"[] | undefined; } & { [k: string]: unknown; }; contentType: "application/json; charset=utf-8"; }>, z.ZodObject<{ kind: z.ZodLiteral<"redirect">; status: z.ZodDefault>; location: z.ZodString; } & { headers: z.ZodOptional]>]>>>>; cookies: z.ZodOptional; domain: z.ZodOptional; httpOnly: z.ZodDefault; secure: z.ZodOptional; sameSite: z.ZodOptional>; maxAge: z.ZodOptional; expires: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; value: string; path: string; httpOnly: boolean; domain?: string | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }, { name: string; value: string; path?: string | undefined; domain?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { status: 301 | 302 | 303 | 307 | 308; kind: "redirect"; location: string; headers?: Record | undefined; cookies?: { name: string; value: string; path: string; httpOnly: boolean; domain?: string | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }[] | undefined; }, { kind: "redirect"; location: string; status?: 301 | 302 | 303 | 307 | 308 | undefined; headers?: Record | undefined; cookies?: { name: string; value: string; path?: string | undefined; domain?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"text">; status: z.ZodEffects; body: z.ZodString; contentType: z.ZodDefault; } & { headers: z.ZodOptional]>]>>>>; cookies: z.ZodOptional; domain: z.ZodOptional; httpOnly: z.ZodDefault; secure: z.ZodOptional; sameSite: z.ZodOptional>; maxAge: z.ZodOptional; expires: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; value: string; path: string; httpOnly: boolean; domain?: string | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }, { name: string; value: string; path?: string | undefined; domain?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }>, "many">>>; }, "strip", z.ZodTypeAny, { status: number; kind: "text"; body: string; contentType: string; headers?: Record | undefined; cookies?: { name: string; value: string; path: string; httpOnly: boolean; domain?: string | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }[] | undefined; }, { status: number; kind: "text"; body: string; headers?: Record | undefined; cookies?: { name: string; value: string; path?: string | undefined; domain?: string | undefined; httpOnly?: boolean | undefined; secure?: boolean | undefined; sameSite?: "lax" | "strict" | "none" | undefined; maxAge?: number | undefined; expires?: Date | undefined; }[] | undefined; contentType?: string | undefined; }>]>; export declare const wellKnownAsStateSchema: z.ZodObject<{ baseUrl: z.ZodString; scopesSupported: z.ZodDefault>; tokenEndpointAuthMethods: z.ZodDefault, "many">>; dcrEnabled: z.ZodDefault; isOrchestrated: z.ZodBoolean; }, "strip", z.ZodTypeAny, { baseUrl: string; scopesSupported: string[]; isOrchestrated: boolean; tokenEndpointAuthMethods: ("client_secret_basic" | "client_secret_post" | "private_key_jwt")[]; dcrEnabled: boolean; }, { baseUrl: string; isOrchestrated: boolean; scopesSupported?: string[] | undefined; tokenEndpointAuthMethods?: ("client_secret_basic" | "client_secret_post" | "private_key_jwt")[] | undefined; dcrEnabled?: boolean | undefined; }>; declare const wellKnownAsPlan: { readonly pre: ["parseInput"]; readonly execute: ["collectData"]; }; type WellKnownAsPlan = typeof wellKnownAsPlan; type WellKnownAsFlowOptions = FlowRunOptions; declare global { export interface ExtendFlows { 'well-known.oauth-authorization-server': WellKnownAsFlowOptions; } } declare const name: "well-known.oauth-authorization-server"; export default class WellKnownAsFlow extends FlowBase { static canActivate(request: ServerRequest, scope: ScopeEntry): boolean; parseInput(): Promise; collectData(): Promise; } export {};