/**
 * List Models MCP Tool
 * * This file contains the MCP tool definition for listing available stable diffusion models.
 */
import { SwarmUIClient, ListModelsOptions } from '../client/swarmui-client.js';
/**
 * Input schema for the list_models tool.
 */
export declare const listModelsSchema: {
    description: string;
    type: string;
    properties: {
        path: {
            type: string;
            description: string;
        };
        depth: {
            type: string;
            description: string;
        };
        subtype: {
            type: string;
            description: string;
        };
        sortBy: {
            type: string;
            description: string;
        };
        sortReverse: {
            type: string;
            description: string;
        };
        allowRemote: {
            type: string;
            description: string;
        };
    };
    required: never[];
};
/**
 * Handler for the list_models tool
 */
export declare function listModelsHandler(params: ListModelsOptions, swarmui: SwarmUIClient): Promise<{
    content: {
        type: "text";
        text: string;
    }[];
    _meta: {
        modelCount: number;
        folderCount: number;
        error?: undefined;
    };
    isError?: undefined;
} | {
    content: {
        type: "text";
        text: string;
    }[];
    isError: boolean;
    _meta: {
        error: string;
        modelCount?: undefined;
        folderCount?: undefined;
    };
}>;
