import type { AddOn } from '@heroku/types/3.sdk'; import type { ResourceCtx } from '../../../core/extend-resource.js'; import type { AddOnAttachmentWithInclusions } from '../../platform/add-on-attachment/resolve.js'; /** * Returns the first legacy database add-on on the app. */ export declare function findLegacyDatabase(ctx: Pick, appIdentity: string): Promise; export declare const getPostgresServiceName: () => string; /** * `AddOnAttachmentWithInclusions` is an internal type. The public `isPostgresAddon` takes `AddOn` only. */ export declare const isPostgresAddonInternal: (addon: AddOn | AddOnAttachmentWithInclusions["addon"]) => boolean; export declare const isPostgresAddon: (addon: AddOn) => boolean; export declare const isAdvancedDatabase: (addon: AddOn) => boolean; export declare const isLegacyDatabase: (addon: AddOn) => boolean;