import { User } from "@authhero/adapter-interfaces";
export type ExternalUser = Omit<User, "registration_completed_at">;
/**
 * Remove fields that are tracked internally for self-healing/bookkeeping
 * but must never reach customer-facing payloads (webhooks, code hooks,
 * `onExecutePostLogin` event, outbox `target.after`, etc.).
 */
export declare function stripInternalUserFields(user: User): ExternalUser;
