UNPKG

@toolprint/api-client

Version:
1,511 lines 324 kB
import { z } from 'zod'; export declare const zValidationError: z.ZodObject<{ loc: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">; msg: z.ZodString; type: z.ZodString; }, "strip", z.ZodTypeAny, { loc: (string | number)[]; type: string; msg: string; }, { loc: (string | number)[]; type: string; msg: string; }>; export declare const zUserAccount: z.ZodObject<{ api_key: z.ZodString; belongs_to_organization_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; created_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; doppler_service_token_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; updated_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { id: string; api_key: string; belongs_to_organization_id?: string | null | undefined; created_at?: string | null | undefined; doppler_service_token_id?: string | null | undefined; updated_at?: string | null | undefined; }, { id: string; api_key: string; belongs_to_organization_id?: string | null | undefined; created_at?: string | null | undefined; doppler_service_token_id?: string | null | undefined; updated_at?: string | null | undefined; }>; export declare const zUpsertSecretResponse: z.ZodObject<{ secret_name: z.ZodString; success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { secret_name: string; success: boolean; }, { secret_name: string; success: boolean; }>; export declare const zUpsertSecretRequest: z.ZodObject<{ value: z.ZodUnion<[z.ZodString, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>; value_type: z.ZodEnum<["string", "object"]>; }, "strip", z.ZodTypeAny, { value: string | {}; value_type: "string" | "object"; }, { value: string | {}; value_type: "string" | "object"; }>; export declare const zToolprintToolReference: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; export declare const zToolprintTool: z.ZodObject<{ ref: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; usage_hints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }>; export declare const zSearchResultMeta: z.ZodObject<{ score: z.ZodNumber; }, "strip", z.ZodTypeAny, { score: number; }, { score: number; }>; export declare const zPrompt: z.ZodObject<{ message: z.ZodString; type: z.ZodEnum<["system", "user"]>; }, "strip", z.ZodTypeAny, { message: string; type: "system" | "user"; }, { message: string; type: "system" | "user"; }>; export declare const zToolprintMetaOutput: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; export declare const zToolprintOutput: z.ZodObject<{ goal: z.ZodString; instructions: z.ZodUnion<[z.ZodString, z.ZodNull]>; meta: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; tools: z.ZodArray<z.ZodObject<{ ref: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; usage_hints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }, { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }>; export declare const zTool: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }>; export declare const zRegisteredToolprint: z.ZodObject<{ created_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; created_by: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodString>; owner_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; source: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>; source_checksum: z.ZodString; toolprint: z.ZodObject<{ goal: z.ZodString; instructions: z.ZodUnion<[z.ZodString, z.ZodNull]>; meta: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; tools: z.ZodArray<z.ZodObject<{ ref: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; usage_hints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }, { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }>; tools: z.ZodReadonly<z.ZodArray<z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }>, "many">>; updated_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; updated_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }, { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }>; export declare const zToolprintRecommendation: z.ZodObject<{ meta: z.ZodObject<{ score: z.ZodNumber; }, "strip", z.ZodTypeAny, { score: number; }, { score: number; }>; prompts: z.ZodArray<z.ZodObject<{ message: z.ZodString; type: z.ZodEnum<["system", "user"]>; }, "strip", z.ZodTypeAny, { message: string; type: "system" | "user"; }, { message: string; type: "system" | "user"; }>, "many">; toolprint: z.ZodObject<{ created_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; created_by: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodString>; owner_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; source: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>; source_checksum: z.ZodString; toolprint: z.ZodObject<{ goal: z.ZodString; instructions: z.ZodUnion<[z.ZodString, z.ZodNull]>; meta: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; tools: z.ZodArray<z.ZodObject<{ ref: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; usage_hints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }, { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }>; tools: z.ZodReadonly<z.ZodArray<z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }>, "many">>; updated_at: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; updated_by: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }, { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }>; }, "strip", z.ZodTypeAny, { meta: { score: number; }; toolprint: { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }; prompts: { message: string; type: "system" | "user"; }[]; }, { meta: { score: number; }; toolprint: { tools: readonly { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }[]; source_checksum: string; toolprint: { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }; id?: string | undefined; created_at?: string | null | undefined; updated_at?: string | null | undefined; created_by?: string | undefined; owner_id?: string | null | undefined; source?: {} | undefined; updated_by?: string | null | undefined; }; prompts: { message: string; type: "system" | "user"; }[]; }>; export declare const zToolprintMetaInput: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; export declare const zToolprintInput: z.ZodObject<{ goal: z.ZodString; instructions: z.ZodUnion<[z.ZodString, z.ZodNull]>; meta: z.ZodObject<{ language: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"en-US">>>; name: z.ZodString; resource_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; version: z.ZodDefault<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }, { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }>; tools: z.ZodArray<z.ZodObject<{ ref: z.ZodObject<{ id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; name: z.ZodString; ref_type: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["local", "id"]>, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }, { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }>; usage_hints: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }, { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { meta: { name: string; language: "en-US"; version: string; resource_id?: string | null | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }, { meta: { name: string; language?: "en-US" | undefined; resource_id?: string | null | undefined; version?: string | undefined; }; goal: string; instructions: string | null; tools: { ref: { name: string; id?: string | null | undefined; ref_type?: "local" | "id" | null | undefined; }; usage_hints?: string | null | undefined; }[]; }>; export declare const zToolServerProvider: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; export declare const zToolServerProperties: z.ZodObject<{ properties: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { properties: {}; }, { properties: {}; }>; export declare const zToolServerLaunchConfig: z.ZodObject<{ secret_name: z.ZodString; source: z.ZodLiteral<"doppler">; }, "strip", z.ZodTypeAny, { secret_name: string; source: "doppler"; }, { secret_name: string; source: "doppler"; }>; export declare const zToolServer: z.ZodObject<{ id: z.ZodString; name: z.ZodString; properties: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>; provider_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; provider_id: string; properties?: {} | undefined; }, { id: string; name: string; provider_id: string; properties?: {} | undefined; }>; export declare const zCanonicalResource: z.ZodObject<{ event_name: z.ZodString; org_id: z.ZodString; profile_id: z.ZodString; server_name: z.ZodString; }, "strip", z.ZodTypeAny, { event_name: string; org_id: string; profile_id: string; server_name: string; }, { event_name: string; org_id: string; profile_id: string; server_name: string; }>; export declare const zAccessPolicyType: z.ZodEnum<["ALWAYS", "NEVER", "REQUIRES_PERMISSION"]>; export declare const zPolicyBase: z.ZodObject<{ access_policy: z.ZodEnum<["ALWAYS", "NEVER", "REQUIRES_PERMISSION"]>; canonical_resource_name: z.ZodString; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; event_name: z.ZodString; organization_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }>; export declare const zToolProperties: z.ZodObject<{ tags: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { tags: {}; }, { tags: {}; }>; export declare const zToolResource: z.ZodObject<{ canonical_resource: z.ZodObject<{ event_name: z.ZodString; org_id: z.ZodString; profile_id: z.ZodString; server_name: z.ZodString; }, "strip", z.ZodTypeAny, { event_name: string; org_id: string; profile_id: string; server_name: string; }, { event_name: string; org_id: string; profile_id: string; server_name: string; }>; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; integration_name: z.ZodString; org_id: z.ZodString; policy: z.ZodObject<{ access_policy: z.ZodEnum<["ALWAYS", "NEVER", "REQUIRES_PERMISSION"]>; canonical_resource_name: z.ZodString; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; event_name: z.ZodString; organization_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }>; profile_id: z.ZodString; properties: z.ZodObject<{ tags: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { tags: {}; }, { tags: {}; }>; provider: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; server: z.ZodObject<{ id: z.ZodString; name: z.ZodString; properties: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>; provider_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; provider_id: string; properties?: {} | undefined; }, { id: string; name: string; provider_id: string; properties?: {} | undefined; }>; tool: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }>; tool_name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }, { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }>; export declare const zToolCustomTagsParamsRequest: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; integration_name: z.ZodString; tags: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; tool_name: z.ZodString; }, "strip", z.ZodTypeAny, { tags: {}; integration_name: string; tool_name: string; description?: string | null | undefined; }, { tags: {}; integration_name: string; tool_name: string; description?: string | null | undefined; }>; export declare const zToolCustomTagSelectionParamsRequest: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; integration_name: z.ZodString; tags: z.ZodArray<z.ZodString, "many">; tool_name: z.ZodString; }, "strip", z.ZodTypeAny, { tags: string[]; integration_name: string; tool_name: string; description?: string | null | undefined; }, { tags: string[]; integration_name: string; tool_name: string; description?: string | null | undefined; }>; export declare const zStrategy: z.ZodObject<{ instructions: z.ZodString; recipe_id: z.ZodString; tools: z.ZodArray<z.ZodObject<{ canonical_resource: z.ZodObject<{ event_name: z.ZodString; org_id: z.ZodString; profile_id: z.ZodString; server_name: z.ZodString; }, "strip", z.ZodTypeAny, { event_name: string; org_id: string; profile_id: string; server_name: string; }, { event_name: string; org_id: string; profile_id: string; server_name: string; }>; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; integration_name: z.ZodString; org_id: z.ZodString; policy: z.ZodObject<{ access_policy: z.ZodEnum<["ALWAYS", "NEVER", "REQUIRES_PERMISSION"]>; canonical_resource_name: z.ZodString; description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; event_name: z.ZodString; organization_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }, { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }>; profile_id: z.ZodString; properties: z.ZodObject<{ tags: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { tags: {}; }, { tags: {}; }>; provider: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; server: z.ZodObject<{ id: z.ZodString; name: z.ZodString; properties: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>; provider_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; provider_id: string; properties?: {} | undefined; }, { id: string; name: string; provider_id: string; properties?: {} | undefined; }>; tool: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }>; tool_name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }, { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { instructions: string; tools: { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }[]; recipe_id: string; }, { instructions: string; tools: { id: string; properties: { tags: {}; }; org_id: string; profile_id: string; canonical_resource: { event_name: string; org_id: string; profile_id: string; server_name: string; }; integration_name: string; policy: { event_name: string; access_policy: "ALWAYS" | "NEVER" | "REQUIRES_PERMISSION"; canonical_resource_name: string; description?: string | null | undefined; organization_id?: string | null | undefined; }; provider: { id: string; name: string; }; server: { id: string; name: string; provider_id: string; properties?: {} | undefined; }; tool: { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }; tool_name: string; description?: string | null | undefined; }[]; recipe_id: string; }>; export declare const zSmitheryConnectionInfo: z.ZodObject<{ config_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; deployment_url: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["ws", "http"]>; }, "strip", z.ZodTypeAny, { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }, { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }>; export declare const zSmitheryToolServerClient: z.ZodObject<{ client_type: z.ZodLiteral<"smithery">; connections: z.ZodArray<z.ZodObject<{ config_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; deployment_url: z.ZodOptional<z.ZodString>; type: z.ZodEnum<["ws", "http"]>; }, "strip", z.ZodTypeAny, { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }, { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }>, "many">; launch_config: z.ZodOptional<z.ZodUnion<[z.ZodObject<{ secret_name: z.ZodString; source: z.ZodLiteral<"doppler">; }, "strip", z.ZodTypeAny, { secret_name: string; source: "doppler"; }, { secret_name: string; source: "doppler"; }>, z.ZodNull]>>; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { server_id: string; client_type: "smithery"; connections: { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }[]; launch_config?: { secret_name: string; source: "doppler"; } | null | undefined; }, { server_id: string; client_type: "smithery"; connections: { type: "ws" | "http"; config_schema?: boolean | {} | undefined; deployment_url?: string | undefined; }[]; launch_config?: { secret_name: string; source: "doppler"; } | null | undefined; }>; export declare const zServiceTokenResponse: z.ZodObject<{ doppler_config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; doppler_env: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; doppler_project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; doppler_service_token: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; }, "strip", z.ZodTypeAny, { doppler_config?: string | null | undefined; doppler_env?: string | null | undefined; doppler_project?: string | null | undefined; doppler_service_token?: string | null | undefined; }, { doppler_config?: string | null | undefined; doppler_env?: string | null | undefined; doppler_project?: string | null | undefined; doppler_service_token?: string | null | undefined; }>; export declare const zPaginationMetadata: z.ZodObject<{ has_next: z.ZodBoolean; has_prev: z.ZodBoolean; page: z.ZodNumber; page_size: z.ZodNumber; pages: z.ZodNumber; total: z.ZodNumber; }, "strip", z.ZodTypeAny, { has_next: boolean; has_prev: boolean; page: number; page_size: number; pages: number; total: number; }, { has_next: boolean; has_prev: boolean; page: number; page_size: number; pages: number; total: number; }>; export declare const zScoredItemTool: z.ZodObject<{ item: z.ZodObject<{ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; icon_url: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>; id: z.ZodString; input_schema: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodBoolean]>>; name: z.ZodString; server_id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; server_id: string; description?: string | null | undefined; icon_url?: string | null | undefined; input_schema?: boolean | {} | undefined; }, { id: string; name: string; server_id: string; description?: string | n