import type { PostgresCredentialListResult } from '@heroku/types/data'; import type { ResourceCtx } from '../../../core/extend-resource.js'; import type { ResolvedAddOn } from '../../platform/add-on/types.js'; import { DatabaseCredentialOptions } from './index.js'; export type ListDatabaseCredentialsResult = { addon: ResolvedAddOn; credentials: PostgresCredentialListResult; }; /** * Lists credentials on an Advanced-tier Postgres database. Classic-tier * databases don't support this endpoint; use `postgresDatabase.listCredentials` * for those instead. * * Throws `NotAdvancedDatabaseError` (carrying the resolved addon) if * `addonIdentity` doesn't resolve to an Advanced-tier database. */ export declare function list(ctx: Pick, addonIdentity: string, options?: DatabaseCredentialOptions): Promise;