import { type ActorSpec, type DependencySpec } from '@devvit/protos/json/devvit/runtime/bundle.js'; import type { Namespace } from '@devvit/shared-types/Namespace.js'; import type { AppConfig } from '@devvit/shared-types/schemas/config-file.v1.js'; /** * Convert a static `AppConfig` to a `DependencySpec`. Similar to the classic * `Devvit` singleton, `ConfigImpl`, `addPaymentHandler()`, and * `paymentsPlugin`. * * Consider the config objects to determine uses / provides since the config * objects have more granularity (eg, triggers). If a config and a permission * exists, only the config needs to be consulted. * * The `provide()` / `use()` helpers deduplicate. */ export declare function createDependencySpec(actorSpec: Readonly, config: Readonly>, namespace: Readonly): DependencySpec; //# sourceMappingURL=dependency-spec-util.d.ts.map