import { z } from 'zod';
export declare const BackendTargetKindSchema: z.ZodEnum<{
    builtInAgent: "builtInAgent";
    configuredAcpBackend: "configuredAcpBackend";
}>;
export type BackendTargetKind = z.infer<typeof BackendTargetKindSchema>;
declare const BuiltInAgentTargetSchema: z.ZodObject<{
    kind: z.ZodLiteral<"builtInAgent">;
    agentId: z.ZodString;
}, z.core.$strip>;
declare const ConfiguredAcpBackendTargetSchema: z.ZodObject<{
    kind: z.ZodLiteral<"configuredAcpBackend">;
    backendId: z.ZodString;
}, z.core.$strip>;
export declare const BackendTargetRefSchema: z.ZodUnion<readonly [z.ZodObject<{
    kind: z.ZodLiteral<"builtInAgent">;
    agentId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    kind: z.ZodLiteral<"configuredAcpBackend">;
    backendId: z.ZodString;
}, z.core.$strip>]>;
export type BackendTargetRefV1 = z.infer<typeof BackendTargetRefSchema>;
export declare const BackendTargetKeySchema: z.ZodString;
export type BackendTargetKey = z.infer<typeof BackendTargetKeySchema>;
export declare function buildBackendTargetKey(target: BackendTargetRefV1): BackendTargetKey;
export declare function parseBackendTargetKey(key: string): BackendTargetRefV1;
export declare function isBuiltInAgentTarget(target: BackendTargetRefV1): target is z.infer<typeof BuiltInAgentTargetSchema>;
export declare function isConfiguredAcpBackendTarget(target: BackendTargetRefV1): target is z.infer<typeof ConfiguredAcpBackendTargetSchema>;
export {};
//# sourceMappingURL=backendTargetRef.d.ts.map