/** * Utility to ensure a User exists before creating JiraCredential * * This prevents P2025 errors (record not found) when creating credentials. * The User must exist before creating any JiraCredential that references it. */ /** * Ensure a User exists by userId * If the user doesn't exist, throws an error (should not create users here) */ export declare function ensureUserExists(userId: string): Promise; /** * Ensure a User exists by email (creates if missing in DEV only) * This is a fallback for cases where we have an email but no userId yet */ export declare function ensureUserByEmail(email: string, options?: { name?: string; createIfMissing?: boolean; }): Promise; //# sourceMappingURL=ensure-user.d.ts.map