import type { CommandFn, CommandUsage } from '../index.ts'; export type TokenInfo = { /** The server-side key/id for the token */ key: string; /** A truncated prefix of the token value */ token: string; /** ISO date when the token was created */ created: string; /** Whether this token is read-only */ readonly: boolean; /** CIDR whitelist, if any */ cidr_whitelist?: string[]; }; export type RegistryTokens = { registry: string; alias?: string; /** Masked local keychain token, if stored */ localToken?: string; tokens: TokenInfo[]; error?: string; }; export type TokenListResult = { identity: string; registries: RegistryTokens[]; }; export declare const usage: CommandUsage; export declare const views: { readonly human: (r: TokenListResult | void) => string | undefined; readonly json: (r: TokenListResult | void) => TokenListResult | undefined; }; export declare const command: CommandFn;