import type { AccountState } from '@reticlehq/core'; export declare const ACCOUNT_ROOT_ATTR = "data-reticle-account"; export declare const ACCOUNT_SIGNIN_ATTR = "data-reticle-account-signin"; export declare const SYNC_BTN_ATTR = "data-reticle-sync-now"; export declare const ACCOUNT_TRIGGER_ATTR = "data-reticle-account-trigger"; export declare const ACCOUNT_MENU_ATTR = "data-reticle-account-menu"; export declare const ACCOUNT_SIGNOUT_ATTR = "data-reticle-account-signout"; export declare const ACCOUNT_TEXT: { readonly SIGNED_OUT: "Sign in"; readonly SIGNIN_TITLE: "Run `reticle login` in your terminal — click to copy the command"; readonly SIGNIN_COMMAND: "reticle login"; readonly DASHBOARD_TITLE: "Open this project on the dashboard"; readonly SYNC_TITLE: "Push to the dashboard now, instead of waiting for the next sync"; readonly COPIED: "Copied"; readonly AVATAR_FALLBACK: "•"; readonly MENU_LABEL: "Reticle account"; readonly TRIGGER_TITLE: "Your Reticle account"; readonly SIGNED_IN_AS: "Signed in"; readonly DASHBOARD_ACTION: "Open dashboard"; readonly LINK_HINT: "Not linked — run `reticle link` to keep a record on the dashboard"; readonly LINK_COMMAND: "reticle link"; readonly SIGNOUT_ACTION: "Sign out"; readonly SIGNOUT_TITLE: "Run `reticle logout` in your terminal — click to copy the command"; readonly SIGNOUT_COMMAND: "reticle logout"; readonly PROJECT_LABEL: "Project"; readonly HOST_LABEL: "Host"; readonly VERDICTS_LABEL: "Verdicts"; readonly DEFECTS_LABEL: "Defects found"; }; export interface AccountDetails { projectName?: string | undefined; dashboardUrl?: string | undefined; verdicts?: number | undefined; defects?: number | undefined; } export declare function accountInitials(org: string | undefined): string; export declare function accountControlHtml(account: AccountState | undefined, details?: AccountDetails, offerSignIn?: boolean): string; export declare function accountCapsuleHtml(account: AccountState | undefined, dashboardUrl?: string, offerSignIn?: boolean): string; export declare function syncButtonHtml(dashboardUrl: string | undefined): string; export declare function mountAccountControl(root: HTMLElement): () => void;