import { PublicKey } from '@solarti/web3.js';
export class Pda extends PublicKey {
    constructor(value, bump) {
        super(value);
        this.bump = bump;
    }
    static find(programId, seeds) {
        const [publicKey, bump] = PublicKey.findProgramAddressSync(seeds, programId);
        return new Pda(publicKey, bump);
    }
}
//# sourceMappingURL=Pda.js.map