UNPKG
imagerot
Version:
latest (1.0.3)
1.0.3
1.0.1
1.0.0
A lightweight, cross-environment image library for applying unique effects via raw image buffers.
imagerot
/
lib
/
imagerot
/
node
/
saveBuffer
/
index.d.ts
8 lines
(7 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
IRotItem
}
from
'../../../types'
;
type
TSaveBufferConf
= {
mime
?:
string
; };
type
TSaveBuffer
=
(
params
:
IRotItem
,
path
:
string
,
config
?:
TSaveBufferConf
|
null
) =>
Promise
<
void
>;
declare
const
saveBuffer
:
TSaveBuffer
;
export
{ saveBuffer };