@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
21 lines • 813 B
TypeScript
import type { ReadonlySessionManager } from "../../../session-manager.ts";
export declare const IMAGE_ATTACHMENT_REFERENCE_REGEX: RegExp;
export interface LookAtImageInputContext {
cwd: string;
sessionManager: Pick<ReadonlySessionManager, "getBranch">;
getImageSettings(): {
autoResize: boolean;
blockImages: boolean;
};
}
export interface LoadedLookAtInput {
data: string;
label: string;
mimeType: string;
}
export interface AttachmentReference {
index: number;
}
export declare function parseImageAttachmentReference(input: string): AttachmentReference | null;
export declare function loadLookAtInputs(ctx: LookAtImageInputContext, paths: readonly string[], base64Inputs: readonly string[]): Promise<LoadedLookAtInput[]>;
//# sourceMappingURL=image-input.d.ts.map