export type GraphicsProtocol = "iterm" | "kitty" | "none";
/**
 * Detect which inline-image graphics protocol the current terminal supports.
 *
 * @param env   Environment to inspect (defaults to `process.env`).
 * @param isTTY Whether stdout is a TTY (defaults to `process.stdout.isTTY`).
 *              Graphics are only emitted to a real interactive terminal.
 */
export declare function detectGraphicsProtocol(env?: NodeJS.ProcessEnv, isTTY?: boolean): GraphicsProtocol;
/**
 * Encode a base64 image payload into an inline-image escape sequence for the
 * given protocol. Returns an empty string for the "none" protocol so callers
 * can append unconditionally.
 */
export declare function encodeInlineImage(base64: string, protocol: GraphicsProtocol): string;
//# sourceMappingURL=terminal-graphics.d.ts.map