import type { PostgresQuotaInfoResult, PostgresQuotaListResult, PostgresQuotaUpdateOpts, PostgresQuotaUpdateResult } from '@heroku/types/data'; import type { ResourceCtx } from '../../core/extend-resource.js'; import type { ResolvedAddOn } from '../platform/add-on/types.js'; export type PostgresQuotaOptions = { appIdentity?: string; signal?: AbortSignal; }; export type ListPostgresQuotasResult = { addon: ResolvedAddOn; quotas: PostgresQuotaListResult; }; export type GetPostgresQuotaResult = { addon: ResolvedAddOn; quota: PostgresQuotaInfoResult; }; export type UpdatePostgresQuotaResult = { addon: ResolvedAddOn; quota: PostgresQuotaUpdateResult; }; /** * Lists quotas on an Advanced-tier Postgres database. * * 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?: PostgresQuotaOptions): Promise; /** * Looks up a single quota on 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, quotaType: string, options?: PostgresQuotaOptions): Promise; /** * Updates a quota's settings on 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, quotaType: string, body: PostgresQuotaUpdateOpts, options?: PostgresQuotaOptions): Promise; export declare const postgresQuotaExtensions: import("../../core/extend-resource.js").ResourceExtension<"data", "postgresQuota", { info: (addonIdentity: string, quotaType: string, options?: PostgresQuotaOptions) => Promise; list: (addonIdentity: string, options?: PostgresQuotaOptions) => Promise; update: (addonIdentity: string, quotaType: string, body: PostgresQuotaUpdateOpts, options?: PostgresQuotaOptions) => Promise; }>;