import type { ResourceCtx } from '../../core/extend-resource.js'; export type ListCredentialsOptions = { signal?: AbortSignal; }; export type CredentialInfo = { credentials: Array<{ connections?: null | number; password: string; state: string; user: string; }>; database: string; host: string; name: string; port: string; state: string; uuid: string; }; export declare function listCredentials(ctx: Pick, appIdentity: string, addonIdentity?: string, options?: ListCredentialsOptions): Promise; export declare const postgresDatabaseExtensions: import("../../core/extend-resource.js").ResourceExtension<"data", "postgresDatabase", { listCredentials: (appIdentity: string, addonIdentity?: string, options?: ListCredentialsOptions) => Promise; }>; export { findLegacyDatabase, getPostgresServiceName, isAdvancedDatabase, isLegacyDatabase, isPostgresAddon, } from './internal/postgres-utils.js';