import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { MemberRole } from "./memberrole.js";
/**
 * A member of a customer.
 */
export type Member = {
    /**
     * The ID of the member.
     */
    id: string;
    /**
     * Creation timestamp of the object.
     */
    createdAt: Date;
    /**
     * Last modification timestamp of the object.
     */
    modifiedAt: Date | null;
    /**
     * The ID of the customer this member belongs to.
     */
    customerId: string;
    /**
     * The email address of the member.
     */
    email: string;
    /**
     * The name of the member.
     */
    name: string | null;
    /**
     * The ID of the member in your system. This must be unique within the customer.
     */
    externalId: string | null;
    role: MemberRole;
};
/** @internal */
export declare const Member$inboundSchema: z.ZodMiniType<Member, unknown>;
/** @internal */
export type Member$Outbound = {
    id: string;
    created_at: string;
    modified_at: string | null;
    customer_id: string;
    email: string;
    name: string | null;
    external_id: string | null;
    role: string;
};
/** @internal */
export declare const Member$outboundSchema: z.ZodMiniType<Member$Outbound, Member>;
export declare function memberToJSON(member: Member): string;
export declare function memberFromJSON(jsonString: string): SafeParseResult<Member, SDKValidationError>;
//# sourceMappingURL=member.d.ts.map