@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 678 B
TypeScript
import type { ImageContent } from "@earendil-works/pi-ai/compat";
type ReferenceImages = {
ok: true;
images: ImageContent[];
} | {
ok: false;
error: string;
};
type LoadedImage = {
ok: true;
image: ImageContent;
} | {
ok: false;
error: string;
};
export declare function loadReferenceImages(cwd: string, paths: string[] | undefined): Promise<ReferenceImages>;
/** The inpainting mask is one more local image, bound to the first reference by the API. */
export declare function loadMaskImage(cwd: string, path: string | undefined, referenceCount: number): Promise<LoadedImage | undefined>;
export {};
//# sourceMappingURL=reference-images.d.ts.map