import type { FeltDBContractSnapshot, FeltDBFlowProposal } from "./application-development.js"; import { type FeltDBModuleDefinition, type FeltDBModuleOwnership } from "./module.js"; import { type ApplicationUnderstanding, type ObservedEvidenceInput } from "./application-understanding.js"; export interface ModuleIntent { action: "implement" | "extend"; module: string; provider: string; version: string; original: string; } export interface ModuleImplementationPlan { intent: ModuleIntent; module: FeltDBModuleDefinition; alreadyInstalled: boolean; owner: string; ownerClaim: string; primaryApplicationModel: string; applicationModels: Array<{ name: string; ownership: FeltDBModuleOwnership; purpose: string; fields: Array<{ name: string; type: string; optional?: boolean; }>; }>; relationships: string[]; events: string[]; workflows: string[]; capabilities: string[]; authorization: FeltDBModuleDefinition["authorization"]; configuration: string[]; secrets: string[]; dependencies: Array<{ name: string; status: "satisfied" | "missing"; evidence: string[]; }>; stateFlow: string[]; warnings: string[]; } export declare function resolveModuleIntent(value: string): ModuleIntent | undefined; export declare function planModuleImplementation(intent: ModuleIntent, snapshot: FeltDBContractSnapshot, currentFlow: string, understanding: ApplicationUnderstanding): ModuleImplementationPlan; export declare function createModuleImplementationProposal(input: { intent: string; snapshot: FeltDBContractSnapshot; currentFlow: string; observations?: ObservedEvidenceInput[]; }): Promise; //# sourceMappingURL=module-intent.d.ts.map