export type LocalImageErrorCode = 'RELATIVE_PATH_REJECTED' | 'FILE_NOT_FOUND' | 'PERMISSION_DENIED' | 'FILE_TOO_LARGE' | 'UNSUPPORTED_FORMAT' | 'INVALID_BASE64' | 'GLOB_TOO_LARGE' | 'SYMLINK_REJECTED'; export declare class LocalImageError extends Error { code: LocalImageErrorCode; path?: string; sizeBytes?: number; detail?: string; constructor(code: LocalImageErrorCode, message: string, opts?: { path?: string; sizeBytes?: number; detail?: string; }); } export declare function resolvePath(input: string): string; export declare function readImage(absolutePath: string): Buffer; export declare function computeSha256(bytes: Buffer): string; export declare function validateBase64(input: string): void; /** * Expand a list of literal paths and glob patterns into a deduplicated * absolute-path array. Each pattern is expanded independently; results * are merged + deduplicated. ~/ is expanded BEFORE passing to fast-glob. * * Hard cap at MAX_GLOB_FILES across all patterns combined. Empty glob * matches return an empty result (not an error) so a typo'd glob doesn't * fail an otherwise-good batch. * * fast-glob options: * - onlyFiles: true (skip directory matches) * - suppressErrors: true (per-file permission-denied → skipped, not fatal) * - followSymbolicLinks: false (symlinks excluded; readImage rejects them anyway) */ export declare function expandGlobs(patterns: string[]): string[]; //# sourceMappingURL=local-image.d.ts.map