/** @jsxImportSource @opentui/solid */
import { type Accessor, type ParentProps } from "solid-js";
export interface ProjectsCommand {
    id: string;
    title: string;
    category: string;
    detail?: string;
    hidden?: boolean;
    enabled?: () => boolean;
    run: () => void | Promise<void>;
}
type CommandContextValue = {
    commands: Accessor<ProjectsCommand[]>;
    visibleCommands: Accessor<ProjectsCommand[]>;
    runCommand: (id: string) => Promise<boolean>;
};
export declare function CommandProvider(props: ParentProps): import("solid-js").JSX.Element;
export declare function useCommands(): CommandContextValue;
export {};
//# sourceMappingURL=commands.d.ts.map