import type { PostgresSettingsInfoResult, PostgresSettingsUpdateOpts, PostgresSettingsUpdateResult } from '@heroku/types/data'; import type { ResourceCtx } from '../../core/extend-resource.js'; import type { ResolvedAddOn } from '../platform/add-on/types.js'; export type PostgresSettingsOptions = { appIdentity?: string; signal?: AbortSignal; }; export type GetPostgresSettingsResult = { addon: ResolvedAddOn; settings: PostgresSettingsInfoResult; }; export type UpdatePostgresSettingsResult = { addon: ResolvedAddOn; settings: PostgresSettingsUpdateResult; }; /** * Reads the settings of an Advanced-tier Postgres database. * * Throws `NotAdvancedDatabaseError` (carrying the resolved addon) if * `addonIdentity` doesn't resolve to an Advanced-tier database. */ export declare function info(ctx: Pick, addonIdentity: string, options?: PostgresSettingsOptions): Promise; /** * Updates the settings of an Advanced-tier Postgres database. * * Throws `NotAdvancedDatabaseError` (carrying the resolved addon) if * `addonIdentity` doesn't resolve to an Advanced-tier database. */ export declare function update(ctx: Pick, addonIdentity: string, body: PostgresSettingsUpdateOpts, options?: PostgresSettingsOptions): Promise; export declare const postgresSettingsExtensions: import("../../core/extend-resource.js").ResourceExtension<"data", "postgresSettings", { info: (addonIdentity: string, options?: PostgresSettingsOptions) => Promise; update: (addonIdentity: string, body: PostgresSettingsUpdateOpts, options?: PostgresSettingsOptions) => Promise; }>;