astro-ghostcms/.pnpm-store/v3/files/a6/027ab303eb2be2d94dac343879b...

23 lines
784 B
Plaintext

import { InlineValue, Disposable, InlineValueParams } from 'vscode-languageserver-protocol';
import type { Feature, _Languages, ServerRequestHandler } from './server';
/**
* Shape of the inline values feature
*
* @since 3.17.0
*/
export interface InlineValueFeatureShape {
inlineValue: {
/**
* Ask the client to refresh all inline values.
*/
refresh(): Promise<void>;
/**
* Installs a handler for the inline values request.
*
* @param handler The corresponding handler.
*/
on(handler: ServerRequestHandler<InlineValueParams, InlineValue[] | undefined | null, InlineValue[], void>): Disposable;
};
}
export declare const InlineValueFeature: Feature<_Languages, InlineValueFeatureShape>;