export interface SecretEntry {
    index: number;
    type: 'pattern' | 'literal';
    value: string;
    source: 'shared/yaml' | 'local/json';
}
/** Mask a literal secret value: show first 4 chars + `***`. */
export declare function maskLiteral(value: string): string;
/**
 * Build an indexed list of all secrets from both sources.
 * Does not print anything — used by both list and remove commands.
 */
export declare function buildSecretEntries(cwd: string, totemDir?: string): Promise<SecretEntry[]>;
export declare function listSecretsCommand(cwd?: string, totemDir?: string): Promise<SecretEntry[]>;
//# sourceMappingURL=list-secrets.d.ts.map