import { z } from 'zod'; export declare const setupCommandSchema: z.ZodObject<{ command: z.ZodString; args: z.ZodDefault>; env: z.ZodDefault>; cwd: z.ZodOptional; }, z.core.$strict>; export declare const pluginAuthorizationSchema: z.ZodArray; servers: z.ZodArray; methods: z.ZodArray; server: z.ZodString; id: z.ZodString; title: z.ZodString; instructions: z.ZodDefault>; helpUrl: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"form">; fields: z.ZodArray; id: z.ZodString; title: z.ZodString; instructions: z.ZodDefault>; helpUrl: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"cli">; fields: z.ZodDefault>; login: z.ZodObject<{ command: z.ZodString; args: z.ZodDefault>; env: z.ZodDefault>; cwd: z.ZodOptional; }, z.core.$strict>; check: z.ZodObject<{ command: z.ZodString; args: z.ZodDefault>; env: z.ZodDefault>; cwd: z.ZodOptional; }, z.core.$strict>; timeoutSeconds: z.ZodDefault; id: z.ZodString; title: z.ZodString; instructions: z.ZodDefault>; helpUrl: z.ZodOptional; }, z.core.$strict>], "type">>; }, z.core.$strict>>; export type PluginAuthorization = z.infer[number]; export type SetupCommand = z.infer; export declare function pluginAuthorizations(manifest: { extensions?: Record; }): PluginAuthorization[]; export declare function safeAuthorizationUrl(value: string): string; export declare const pluginPermissionIssueSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; scopes: z.ZodDefault>; instructions: z.ZodDefault>; method: z.ZodOptional; helpUrl: z.ZodOptional; }, z.core.$strict>; export type PluginPermissionIssue = z.infer; export declare function parsePluginAuthorizationCheck(output: string, methodIds: string[]): { authenticated: boolean; issues: { id: string; title: string; scopes: string[]; instructions: string[]; method?: string | undefined; helpUrl?: string | undefined; }[]; expiresAt?: number | undefined; };