import { type Context } from "koishi";
import { Config } from "./config";
export interface ImageResult {
    imageUrl: string | null;
    isLocal: boolean;
    imageName?: string;
    imageTime?: Date;
    imageSize?: number;
    imagePath?: string;
}
export declare function getImageAsBase64(imagePath: string): Promise<string>;
export declare function determineImagePath(txtPath: string, config: Config, channelId: string | null, command: string, ctx: Context, local_picture_name?: string[] | null): Promise<ImageResult>;
export declare function getRandomEmojiHubCommand(config: Config): string;
export declare function getRandomImageUrlFromFile(txtPath: string, config: Config, channelId: string | null, command: string, ctx: Context): Promise<{
    imageUrl: string;
    isLocal: boolean;
    imagePath: string;
} | {
    imageUrl: string;
    isLocal: boolean;
    imagePath?: undefined;
}>;
export declare function downloadImage(url: string, outputPath: string, ctx: Context): Promise<string>;
export declare function listAllCommands(config: Config): string[];
