/** * The CSS selector that finds a store's account link in the header. * * Built from `context.routes.accountUrl` rather than a literal `/account`, * because that value is whatever the store actually renders: a locale prefix * (`/en-gb/account`), the `shopify.com//account` URL new customer accounts * use, or a custom domain that need not end in `/account` at all. * * Four rules per route, not an `ends with` match: * - exact, so `/account/logout` and `/account/register` are left alone * - followed by `?`, because account URLs carry search params (a `return_url` * on new customer accounts, most often) * and the same pair for the login route, since themes point the header icon at * the login one while the customer is signed out. * * Scoped to `
`: a placement mounts on *every* match, so unscoped this * would also claim the footer's "My account" and hang a saved-count badge on a * plain text link. */ export declare function accountLinkSelector(accountUrl: string | null | undefined): string;