import { AddressEntity, AssetEntity, BlockDataEntity, BlockEntity, CurrentPoolMetricsEntity, DataSourceExtensions, GovernanceActionEntity, HandleEntity, HandleMetadataEntity, NftMetadataEntity, OutputEntity, PoolDelistedEntity, PoolMetadataEntity, PoolRegistrationEntity, PoolRetirementEntity, PoolRewardsEntity, StakeKeyRegistrationEntity, StakePoolEntity, TokensEntity } from '@cardano-sdk/projection-typeorm'; import { Cardano } from '@cardano-sdk/core'; import { Mappers as Mapper, ProjectionEvent } from '@cardano-sdk/projection'; import { WithLogger } from '@cardano-sdk/util'; export declare enum ProjectionName { Address = "address", Asset = "asset", Handle = "handle", ProtocolParameters = "protocol-parameters", StakePool = "stake-pool", StakePoolMetadataJob = "stake-pool-metadata-job", StakePoolMetricsJob = "stake-pool-metrics-job", StakePoolRewardsJob = "stake-pool-rewards-job", UTXO = "utxo" } export interface ProjectionOptions { handlePolicyIds?: Cardano.PolicyId[]; } declare const createMapperOperators: (projectionNames: ProjectionName[], { handlePolicyIds }: ProjectionOptions, { logger }: WithLogger) => { filterMint: import("@cardano-sdk/projection").ProjectionOperator | ((evt$: import("rxjs").Observable) => import("rxjs").Observable); filterProducedUtxoByAssetsPresence: ((evt$: import("rxjs").Observable) => import("rxjs").Observable) | import("@cardano-sdk/projection").ProjectionOperator; filterUtxo: ((evt$: import("rxjs").Observable) => import("rxjs").Observable) | import("@cardano-sdk/projection").ProjectionOperator; withAddresses: import("@cardano-sdk/projection").ExtChainSyncOperator; withCIP67: import("@cardano-sdk/projection").ExtChainSyncOperator; withCertificates: import("@cardano-sdk/projection").ExtChainSyncOperator<{}, import("@cardano-sdk/projection").WithBlock, Mapper.WithCertificates, Mapper.WithCertificates>; withGovernanceActions: import("@cardano-sdk/projection").ExtChainSyncOperator<{}, import("@cardano-sdk/projection").WithBlock, Mapper.WithGovernanceActions, Mapper.WithGovernanceActions>; withHandleMetadata: ((evt$: import("rxjs").Observable) => import("rxjs").Observable) | import("@cardano-sdk/projection").ProjectionOperator; withHandles: ((evt$: import("rxjs").Observable) => import("rxjs").Observable) | import("@cardano-sdk/projection").ProjectionOperator; withMint: import("@cardano-sdk/projection").ExtChainSyncOperator<{}, import("@cardano-sdk/projection").WithBlock, Mapper.WithMint, Mapper.WithMint>; withNftMetadata: import("@cardano-sdk/projection").ProjectionOperator; withStakeKeyRegistrations: import("@cardano-sdk/projection").ExtChainSyncOperator; withStakePools: import("@cardano-sdk/projection").ExtChainSyncOperator; withUtxo: import("@cardano-sdk/projection").ExtChainSyncOperator<{}, import("@cardano-sdk/projection").WithBlock, Mapper.WithUtxo, Mapper.WithUtxo>; }; declare type MapperOperators = ReturnType; declare type MapperName = keyof MapperOperators; declare type MapperOperator = MapperOperators[MapperName]; export declare const storeOperators: { storeAddresses: import("@cardano-sdk/projection").ExtChainSyncOperator; storeAssets: import("@cardano-sdk/projection").ExtChainSyncOperator; storeBlock: import("@cardano-sdk/projection").ExtChainSyncOperator; storeGovernanceAction: import("@cardano-sdk/projection").ExtChainSyncOperator; storeHandleMetadata: import("@cardano-sdk/projection").ExtChainSyncOperator; storeHandles: import("@cardano-sdk/projection").ExtChainSyncOperator; storeNftMetadata: import("@cardano-sdk/projection").ExtChainSyncOperator; storePoolMetricsUpdateJob: import("@cardano-sdk/projection").ExtChainSyncOperator; storeStakeKeyRegistrations: import("@cardano-sdk/projection").ExtChainSyncOperator; storeStakePoolMetadataJob: import("@cardano-sdk/projection").ExtChainSyncOperator; storeStakePoolRewardsJob: import("@cardano-sdk/projection").ExtChainSyncOperator; storeStakePools: import("@cardano-sdk/projection").ExtChainSyncOperator; storeUtxo: import("@cardano-sdk/projection").ExtChainSyncOperator; }; declare type StoreOperators = typeof storeOperators; declare type StoreName = keyof StoreOperators; declare type StoreOperator = StoreOperators[StoreName]; declare const entities: { address: typeof AddressEntity; asset: typeof AssetEntity; block: typeof BlockEntity; blockData: typeof BlockDataEntity; currentPoolMetrics: typeof CurrentPoolMetricsEntity; governanceAction: typeof GovernanceActionEntity; handle: typeof HandleEntity; handleMetadata: typeof HandleMetadataEntity; nftMetadata: typeof NftMetadataEntity; output: typeof OutputEntity; poolDelisted: typeof PoolDelistedEntity; poolMetadata: typeof PoolMetadataEntity; poolRegistration: typeof PoolRegistrationEntity; poolRetirement: typeof PoolRetirementEntity; poolRewards: typeof PoolRewardsEntity; stakeKeyRegistration: typeof StakeKeyRegistrationEntity; stakePool: typeof StakePoolEntity; tokens: typeof TokensEntity; }; export declare const allEntities: (typeof CurrentPoolMetricsEntity | typeof BlockEntity | typeof PoolDelistedEntity | typeof PoolMetadataEntity | typeof PoolRegistrationEntity | typeof PoolRetirementEntity | typeof PoolRewardsEntity | typeof StakePoolEntity | typeof AddressEntity | typeof AssetEntity | typeof BlockDataEntity | typeof GovernanceActionEntity | typeof HandleEntity | typeof HandleMetadataEntity | typeof NftMetadataEntity | typeof OutputEntity | typeof StakeKeyRegistrationEntity | typeof TokensEntity)[]; declare type Entities = typeof entities; declare type EntityName = keyof Entities; declare type Entity = Entities[EntityName]; export declare const getEntities: (entityNames: EntityName[]) => Entity[]; export interface PrepareTypeormProjectionProps { projections: ProjectionName[]; options?: ProjectionOptions; } export declare const prepareTypeormProjection: ({ projections, options }: PrepareTypeormProjectionProps, dependencies: WithLogger) => { __debug: { entities: ("stakePool" | "block" | "asset" | "handle" | "address" | "blockData" | "currentPoolMetrics" | "governanceAction" | "handleMetadata" | "nftMetadata" | "output" | "poolDelisted" | "poolMetadata" | "poolRegistration" | "poolRetirement" | "poolRewards" | "stakeKeyRegistration" | "tokens" | null)[]; mappers: ("filterMint" | "filterProducedUtxoByAssetsPresence" | "filterUtxo" | "withAddresses" | "withCIP67" | "withCertificates" | "withGovernanceActions" | "withHandleMetadata" | "withHandles" | "withMint" | "withNftMetadata" | "withStakeKeyRegistrations" | "withStakePools" | "withUtxo" | null)[]; stores: ("storeAddresses" | "storeAssets" | "storeBlock" | "storeGovernanceAction" | "storeHandleMetadata" | "storeHandles" | "storeNftMetadata" | "storePoolMetricsUpdateJob" | "storeStakeKeyRegistrations" | "storeStakePoolMetadataJob" | "storeStakePoolRewardsJob" | "storeStakePools" | "storeUtxo" | null)[]; willStoreCheckers: string[]; }; entities: Entity[]; extensions: DataSourceExtensions; mappers: MapperOperator[]; stores: StoreOperator[]; willStore: >(evt: T) => boolean; }; export declare type PreparedProjection = ReturnType; export {}; //# sourceMappingURL=prepareTypeormProjection.d.ts.map