import * as _kb_labs_perm_presets from '@kb-labs/perm-presets';

/**
 * Quality Plugin Manifest V3
 *
 * Monorepo quality analysis and automated fixes
 */
declare const manifest: {
    schema: string;
    id: string;
    version: string;
    display: {
        name: string;
        description: string;
        tags: string[];
    };
    platform: {
        requires: string[];
        optional: string[];
    };
    cli: {
        commands: {
            id: string;
            group: string;
            describe: string;
            longDescription: string;
            handler: string;
            handlerPath: string;
            flags: {
                name: string;
                type: "string" | "boolean" | "number" | "array";
                alias?: string;
                default?: unknown;
                description?: string;
                choices?: string[];
                required?: boolean;
            }[];
            examples: string[];
            permissions: _kb_labs_perm_presets.RuntimePermissionSpec;
        }[];
    };
    rest: {
        basePath: "/v1/plugins/quality";
        routes: ({
            method: string;
            path: "/stats";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/health";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/dependencies";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/build-order";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/cycles";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/graph";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/stale";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/builds";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/types";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/tests";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        })[];
    };
    studio: {
        version: 2;
        remoteName: string;
        pages: {
            id: string;
            title: string;
            icon: string;
            route: string;
            entry: string;
            order: number;
        }[];
        menus: {
            id: string;
            label: string;
            icon: string;
            target: string;
            order: number;
        }[];
    };
    permissions: _kb_labs_perm_presets.RuntimePermissionSpec;
};

export { manifest as default, manifest };
