astro-ghostcms/.pnpm-store/v3/files/50/68d164aa55ae67e2cc94d89ad06...

21 lines
760 B
Plaintext

import type * as vscode from 'vscode-languageserver-protocol';
import type { ServiceContext } from '../types';
export interface ServiceCodeActionData {
uri: string;
version: number;
type: 'service';
original: Pick<vscode.CodeAction, 'data' | 'edit'>;
serviceId: string;
}
export interface RuleCodeActionData {
uri: string;
version: number;
documentUri: string;
type: 'rule';
isFormat: boolean;
ruleId: string;
ruleFixIndex: number;
index: number;
}
export declare function register(context: ServiceContext): (uri: string, range: vscode.Range, codeActionContext: vscode.CodeActionContext, token?: vscode.CancellationToken) => Promise<vscode.CodeAction[] | undefined>;
//# sourceMappingURL=codeActions.d.ts.map