import type { ControlPlaneStore } from './store';
export type ControlPlaneSearchResultType = 'project' | 'environment' | 'service' | 'server' | 'database' | 'deployment' | 'operation';
export interface ControlPlaneSearchResult {
    type: ControlPlaneSearchResultType;
    id: string;
    title: string;
    subtitle: string;
    href: string;
    environment?: string;
    status?: string;
    provider?: string;
    tags: Array<{
        id: string;
        name: string;
        color: string;
    }>;
    score: number;
}
export interface ControlPlaneSearchOptions {
    projectId: string;
    query: string;
    allowedResourceSlugs?: ReadonlySet<string>;
    limit?: number;
}
export declare function searchControlPlane(store: ControlPlaneStore, options: ControlPlaneSearchOptions): ControlPlaneSearchResult[];
