Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kentcdodds/github

src/actions/tweetnacl-sealedbox-js.d.ts

11 lines · 255 B · TypeScript
declare module 'tweetnacl-sealedbox-js' {
	const sealedBox: {
		seal(message: Uint8Array, publicKey: Uint8Array): Uint8Array
		open(
			sealed: Uint8Array,
			publicKey: Uint8Array,
			secretKey: Uint8Array,
		): Uint8Array
	}
	export default sealedBox
}