function getOrDeployInfraForPublishedContract(
  args: {
    chain: Readonly;
  } & {
    constructorParams?: Record<string, unknown>;
    contractId: string;
    publisher?: string;
    version?: string;
  },
): Promise<{
  cloneFactoryContract: Readonly;
  implementationContract: Readonly;
}>;