import * as sanity from 'sanity';
import { ComponentType } from 'react';

type PlaygroundToolConfig = Partial<PlaygroundConfig> & {
    name?: string;
    title?: string;
    icon?: ComponentType;
};
type PlaygroundConfig = {
    defaultApiVersion: string;
    defaultDataset: string;
};

declare const groqdPlaygroundTool: sanity.Plugin<void | PlaygroundToolConfig>;

export { groqdPlaygroundTool };
