import { Balance } from '@yoroi/types'; export type Anchor = string | undefined; export type DRepId = string; export type GovernanceActionId = string; export type DRepRetirementCertificate = { drepId: DRepId; retirement: number; anchor: Anchor; }; export type DRepRegistrationCertificate = { credential: DRepCredential; id: DRepId; deposit: Balance.Quantity; anchor: Anchor; }; export type DRepCredential = { variant: 'verification-key'; key: string; } | { variant: 'plutus-script'; plutusScriptData: string; }; export type StakingKeyState = { drepDelegation?: DelegationBaseInfo & ({ action: 'no-confidence'; } | { action: 'abstain'; } | { action: 'drep'; hash: DRepId; type: 'script' | 'key'; }); }; type DelegationBaseInfo = { tx: string; epoch: number; slot: number; }; export {}; //# sourceMappingURL=types.d.ts.map