export type IntegrationInfo = {
    key: string;
    pluginId: string;
    id: string;
};
/**
 * Extract integration declarations from an SDK API source file.
 *
 * Anchors on the exported `api({ ... })` config object and extracts
 * integrations from its `integrations` property.
 *
 * Supports inline declarations:
 * `integrations: { db: postgres("uuid") }`
 *
 * Top-level variable references:
 * `const DB = postgres("uuid"); integrations: { db: DB }`
 *
 * And string variable indirection:
 * `const ID = "uuid"; integrations: { db: postgres(ID) }`
 */
export declare function extractIntegrationsFromSource(source: string): IntegrationInfo[];
export declare function extractIntegrationIdsFromSource(source: string): string[];
//# sourceMappingURL=extract-api-integrations.d.ts.map