@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
14 lines • 603 B
TypeScript
import { Chunk, ChunkType } from '@sanity/field/diff';
import { IconComponent } from '@sanity/icons';
export declare function formatTimelineEventLabel(type: ChunkType): string | undefined;
export declare function getTimelineEventIconComponent(type: ChunkType): IconComponent | undefined;
export declare function sinceTimelineProps(since: Chunk, rev: Chunk): {
topSelection: Chunk;
bottomSelection: Chunk;
disabledBeforeSelection: boolean;
};
export declare function revTimelineProps(rev: Chunk): {
topSelection: Chunk;
bottomSelection: Chunk;
};
//# sourceMappingURL=helpers.d.ts.map