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

/**
 * QA Plugin Manifest V3
 *
 * Automated quality checks, baseline tracking, and regression detection.
 */
declare const manifest: {
    schema: string;
    id: string;
    version: string;
    configSection: 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;
            }[];
            permissions: _kb_labs_perm_presets.RuntimePermissionSpec;
        }[];
    };
    rest: {
        basePath: "/v1/plugins/qa";
        routes: ({
            method: string;
            path: "/summary";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/latest";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/history";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/trends";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/regressions";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/baseline";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/run";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/details";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/run/check";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/baseline/update";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/baseline/diff";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/packages/:name/timeline";
            handler: string;
            input: {
                zod: string;
            };
            output: {
                zod: string;
            };
        } | {
            method: string;
            path: "/errors/groups";
            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 };
