import { z } from "zod"; import type { MessageVoice } from "./agent.js"; import type { SessionOwner } from "./agents.js"; export declare const TurnSpeakerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"person">; email: z.ZodString; name: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"program">; token: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"agent">; conversationId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"sandbox">; source: z.ZodOptional; }, z.core.$strip>], "kind">; export type TurnSpeaker = z.infer; export declare const speakerActor: (speaker: TurnSpeaker) => string | undefined; export declare const speakerVoice: (speaker: TurnSpeaker) => MessageVoice; export declare const speakerOwner: (speaker: TurnSpeaker) => Pick | undefined; export declare const spokenByPerson: (speaker: TurnSpeaker | undefined) => boolean; export declare const TurnErrandSchema: z.ZodEnum<{ "ci-fix": "ci-fix"; "ci-fix-nudge": "ci-fix-nudge"; "land-breakage": "land-breakage"; "land-conflict": "land-conflict"; "land-fix": "land-fix"; "land-fix-nudge": "land-fix-nudge"; "land-held": "land-held"; "push-fix": "push-fix"; "push-fix-nudge": "push-fix-nudge"; "verify-nudge": "verify-nudge"; }>; export type TurnErrand = z.infer; //# sourceMappingURL=speaker.d.ts.map