MCPcopy Create free account
hub / github.com/WJX20/claude-code / NativeModule

Interface NativeModule

packages/image-processor-napi/src/index.ts:5–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3export const sharp = sharpModule
4
5interface NativeModule {
6 hasClipboardImage(): boolean
7 readClipboardImage(
8 maxWidth?: number,
9 maxHeight?: number,
10 ): {
11 png: Buffer
12 width: number
13 height: number
14 originalWidth: number
15 originalHeight: number
16 } | null
17}
18
19function createDarwinNativeModule(): NativeModule {
20 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected