import type { SingleSlicingCriterion } from '../../../../slicing/criterion/parse';
import type { IdMessageBase, MessageDefinition } from './all-messages';
import type { NodeId } from '../../../../r-bridge/lang-4.x/ast/model/processing/node-id';
export interface LineageRequestMessage extends IdMessageBase {
    type: 'request-lineage';
    /** The {@link FileAnalysisRequestMessage#filetoken} of the file/data */
    filetoken: string;
    /** The criterion to start the lineage from */
    criterion: SingleSlicingCriterion;
}
export declare const requestLineageMessage: MessageDefinition<LineageRequestMessage>;
export interface LineageResponseMessage extends IdMessageBase {
    type: 'response-lineage';
    /** The lineage of the given criterion. With this being the representation of a set, there is no guarantee about order. */
    lineage: NodeId[];
}
export declare const responseLineageMessage: MessageDefinition<LineageResponseMessage>;
