import * as fc from "fast-check"; import { CampaignExecutableAction } from "../campaign/campaign-runner.js"; import { ResolvedDeclarativeCreateTarget } from "../targets/target.js"; import { DamlTestingCatalog } from "./daml-testing-catalog.js"; import { DamlTestingValue } from "./daml-value-arbitrary.js"; import type { TemplateId } from "../../query/model-types.js"; export interface DeclarativeCreateAction extends CampaignExecutableAction { readonly payload: Readonly>; readonly templateId: TemplateId; } export interface DeclarativeCreateActionGenerationOptions { readonly fieldArbitraries?: Readonly>>; readonly valueParties?: readonly string[]; } /** * Builds a well-typed, actor-routed automatic create input from declarative * DAML template metadata. Ledger command construction stays in the runtime * adapter. */ export declare function createDeclarativeCreateActionArbitrary(catalog: DamlTestingCatalog, target: ResolvedDeclarativeCreateTarget, options?: DeclarativeCreateActionGenerationOptions): fc.Arbitrary;