import { GrammarsContribution } from '@opensumi/ide-monaco';
import { ITextmateTokenizerService } from '@opensumi/ide-monaco/lib/browser/contrib/tokenizer';
import { VSCodeContributePoint } from '../../../common';
import { AbstractExtInstanceManagementService } from '../../types';
export type GrammarSchema = Array<GrammarsContribution>;
export declare class GrammarsContributionPoint extends VSCodeContributePoint<GrammarSchema> {
    textMateService: ITextmateTokenizerService;
    protected readonly extensionManageService: AbstractExtInstanceManagementService;
    contribute(): void;
    static schema: {
        description: string;
        type: string;
        defaultSnippets: {
            body: {
                language: string;
                scopeName: string;
                path: string;
            }[];
        }[];
        items: {
            type: string;
            defaultSnippets: {
                body: {
                    language: string;
                    scopeName: string;
                    path: string;
                };
            }[];
            properties: {
                language: {
                    description: string;
                    type: string;
                };
                scopeName: {
                    description: string;
                    type: string;
                };
                path: {
                    description: string;
                    type: string;
                };
                embeddedLanguages: {
                    description: string;
                    type: string;
                };
                tokenTypes: {
                    description: string;
                    type: string;
                    additionalProperties: {
                        enum: string[];
                    };
                };
                injectTo: {
                    description: string;
                    type: string;
                    items: {
                        type: string;
                    };
                };
            };
            required: string[];
        };
    };
}
//# sourceMappingURL=grammar.d.ts.map