import { IkasCustomerAttribute } from "../../../../storefront-models/src"; /** * Retrieves the account page permission for a customer attribute based on the current sales channel. * * @ai-category CustomerAttribute * @ai-related getCustomerAttributeRegisterPageRequirement * * @param attribute - The customer attribute to look up the account page permission for. * @returns The permission setting for the current sales channel, or undefined if no matching sales channel is found. * * @example * ```typescript * import { getCustomerAttributeAccountPagePermission } from "@ikas/bp-storefront"; * const permission = getCustomerAttributeAccountPagePermission(attribute); * if (permission === "EDITABLE") { * console.log("Customer can edit this attribute."); * } * ``` */ export declare function getCustomerAttributeAccountPagePermission(attribute: IkasCustomerAttribute): import("../../../../storefront-models/src").IkasCustomerAttributePermission | undefined; /** * Retrieves the register page requirement for a customer attribute based on the current sales channel. * * @ai-category CustomerAttribute * @ai-related getCustomerAttributeAccountPagePermission * * @param attribute - The customer attribute to look up the register page requirement for. * @returns The register page requirement setting for the current sales channel, or undefined if no matching sales channel is found. * * @example * ```typescript * import { getCustomerAttributeRegisterPageRequirement } from "@ikas/bp-storefront"; * const requirement = getCustomerAttributeRegisterPageRequirement(attribute); * if (requirement === "REQUIRED") { * console.log("This attribute is required during registration."); * } * ``` */ export declare function getCustomerAttributeRegisterPageRequirement(attribute: IkasCustomerAttribute): import("../../../../storefront-models/src").IkasCustomerAttributeRegisterPageRequirement | undefined;