import type { Account, AccountDelinquency } from '@heroku/types/3.sdk'; import type { ResourceCtx } from '../../core/extend-resource.js'; export type GetAccountWithDelinquencyOptions = { signal?: AbortSignal; }; export type AccountWithDelinquency = { account: Account; delinquency: AccountDelinquency | null; }; /** * Fetch the authenticated account together with its delinquency status. * * Runs the two reads concurrently. The account lookup hard-fails — there is no * result without it. The delinquency lookup soft-fails to `null`: a hiccup on * that secondary call must not sink an otherwise-successful account fetch (it * backs commands like `whoami`). Callers decide whether and how to surface a * warning from `delinquency` — `formatDelinquencyWarning` renders the sentence. */ export declare function getAccountWithDelinquency(ctx: Pick, options?: GetAccountWithDelinquencyOptions): Promise; export declare const accountExtensions: import("../../core/extend-resource.js").ResourceExtension<"platform", "account", { getWithDelinquency: (options?: GetAccountWithDelinquencyOptions) => Promise; }>;