import type { RoleName } from '../models/common'; /** Valid role names */ export declare const VALID_ROLES: RoleName[]; /** * Check if a given string is a valid role name (case-insensitive). */ export declare function isValidRole(role: string): role is RoleName; /** * Normalize a role name to canonical case. */ export declare function normalizeRole(role: string): RoleName | null; /** * Validate that an owner role string is a valid role name (case-insensitive). * * v2: Basic role-name validation only — no stage-based captain-only rules. * Returns the normalized role name on success. * * @param owner - The owner role to validate * @returns The canonical role name * @throws TaskInvalidOwnerError with closest-match suggestions if invalid */ export declare function validateOwnerRole(owner: string): RoleName; /** * Validate that an owner can own a task in a given stage. * * v2: No captain-only restrictions. Any valid role can own a task in any stage. * Kept for API compatibility — delegates to validateOwnerRole. * * @param owner - The task owner role * @param _stage - The task stage (unused in v2) */ export declare function validateOwnerForStage(owner: string, _stage?: unknown): void; export { validateOwnerForStage as validateOwnerForState }; //# sourceMappingURL=owner-validator.d.ts.map