export declare const BUILTIN_ROLE_NAMES: readonly ["default", "smart", "fast", "vision"]; export type BuiltInRoleName = (typeof BUILTIN_ROLE_NAMES)[number]; export declare const ROLE_REFERENCE_PREFIX = "vv-role:"; export type ModelRolesErrorCode = "INVALID_ROLE_ID" | "INVALID_ROLE_REFERENCE" | "INVALID_MODEL_SELECTION" | "UNKNOWN_ROLE"; export type ModelRolesError = Error & { code: ModelRolesErrorCode; field: "roleId" | "roleRef" | "modelSelection"; value: string; }; export type ParsedModelSelection = { provider: string; model: string; normalized: string; }; export type ResolvedRoleSelection = ParsedModelSelection & { roleId: string; roleRef: string; }; export type BuiltInRoleBindings = { opencodeDefaults: { model: BuiltInRoleName; smallModel: BuiltInRoleName; }; opencodeAgents: { build: BuiltInRoleName; plan: BuiltInRoleName; general: BuiltInRoleName; explore: BuiltInRoleName; }; managedAgents: { guardian: BuiltInRoleName; "vv-controller": BuiltInRoleName; enhancer: BuiltInRoleName; "vv-analyst": BuiltInRoleName; "vv-architect": BuiltInRoleName; "vv-implementer": BuiltInRoleName; "vv-spec-reviewer": BuiltInRoleName; "vv-code-reviewer": BuiltInRoleName; investigator: BuiltInRoleName; }; }; export declare function isRoleReference(value: string): boolean; export declare function parseModelSelection(modelSelection: string): ParsedModelSelection; export declare function resolveRoleReference(roleRef: string, roleMap: Record): ResolvedRoleSelection; export declare function getBuiltInRoleBindings(): BuiltInRoleBindings;