astro-ghostcms/.pnpm-store/v3/files/47/eec00d4eed421a2c0c3eb5af43f...

27 lines
805 B
Plaintext

import type * as vscode from '@volar/language-service';
import type { SharedContext } from '../types';
export interface FixAllData {
type: 'fixAll';
uri: string;
fileName: string;
fixIds: {}[];
}
export interface RefactorData {
type: 'refactor';
uri: string;
fileName: string;
refactorName: string;
actionName: string;
range: {
pos: number;
end: number;
};
}
export interface OrganizeImportsData {
type: 'organizeImports';
uri: string;
fileName: string;
}
export type Data = FixAllData | RefactorData | OrganizeImportsData;
export declare function register(ctx: SharedContext): (uri: string, range: vscode.Range, context: vscode.CodeActionContext) => Promise<vscode.CodeAction[] | undefined>;
//# sourceMappingURL=codeAction.d.ts.map