import { z, type ZodTypeAny } from "zod"; export declare const CustomProviderRegistrationSchema: z.ZodObject<{ operation: z.ZodDefault>; id: z.ZodOptional; label: z.ZodOptional; baseUrl: z.ZodOptional; auth: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"bearer">; credentialKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"basic">; usernameKey: z.ZodString; passwordKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api-key-header">; credentialKey: z.ZodString; headerName: z.ZodString; }, z.core.$strip>], "type">>; docsUrls: z.ZodOptional>; allowedHostSuffixes: z.ZodOptional>; defaultHeaders: z.ZodOptional>; notes: z.ZodOptional; scope: z.ZodDefault>; }, z.core.$strip>; export interface CustomProviderRegistrationContext { userEmail: string; orgId: string | null; } export interface CreateCustomProviderRegistrationActionOptions { schema?: TSchema; description?: string; getContext?: () => CustomProviderRegistrationContext | null; resolveOrgRole?: (orgId: string, userEmail: string) => Promise; } export declare function createCustomProviderRegistrationAction(options?: CreateCustomProviderRegistrationActionOptions): import("../../action.js").ActionDefinition>; id: z.ZodOptional; label: z.ZodOptional; baseUrl: z.ZodOptional; auth: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"bearer">; credentialKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"basic">; usernameKey: z.ZodString; passwordKey: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"api-key-header">; credentialKey: z.ZodString; headerName: z.ZodString; }, z.core.$strip>], "type">>; docsUrls: z.ZodOptional>; allowedHostSuffixes: z.ZodOptional>; defaultHeaders: z.ZodOptional>; notes: z.ZodOptional; scope: z.ZodDefault>; }, z.core.$strip>>, { id?: undefined; deleted?: undefined; found?: undefined; message?: undefined; providers: { id: string; label: string; baseUrl: string; authType: "api-key-header" | "basic" | "bearer" | "none"; docsUrls: string[]; notes: string; updatedAt: number; }[]; count: number; provider?: undefined; registered?: undefined; label?: undefined; } | { id?: undefined; deleted?: undefined; message?: undefined; providers?: undefined; count?: undefined; found: boolean; provider: import("../custom-registry.js").CustomProviderConfig; registered?: undefined; label?: undefined; } | { deleted?: undefined; message?: undefined; providers?: undefined; count?: undefined; provider?: undefined; found: boolean; id: string; registered?: undefined; label?: undefined; } | { found?: undefined; message?: undefined; providers?: undefined; count?: undefined; provider?: undefined; deleted: boolean; id: string; registered?: undefined; label?: undefined; } | { deleted?: undefined; found?: undefined; providers?: undefined; count?: undefined; provider?: undefined; registered: boolean; id: string; label: string; message: string; }>; //# sourceMappingURL=custom-provider-registration.d.ts.map