import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Customer } from "./customer.js";
/**
 * A customer session that can be used to authenticate as a customer.
 */
export type CustomerSession = {
    /**
     * Creation timestamp of the object.
     */
    createdAt: Date;
    /**
     * Last modification timestamp of the object.
     */
    modifiedAt: Date | null;
    /**
     * The ID of the object.
     */
    id: string;
    token: string;
    expiresAt: Date;
    returnUrl: string | null;
    customerPortalUrl: string;
    customerId: string;
    customer: Customer;
};
/** @internal */
export declare const CustomerSession$inboundSchema: z.ZodMiniType<CustomerSession, unknown>;
export declare function customerSessionFromJSON(jsonString: string): SafeParseResult<CustomerSession, SDKValidationError>;
//# sourceMappingURL=customersession.d.ts.map