@sanity/desk-tool
Version:
Tool for managing all sorts of content in a structured manner
10 lines • 544 B
TypeScript
import { SanityDocument } from '@sanity/types';
export declare function isExpanded(keyPath: any, value: any): any;
export declare function toggleExpanded(event: any): void;
export declare function selectElement(element: HTMLElement): void;
export declare function select(event: any): void;
export declare function maybeSelectAll(event: any): void;
export declare function isDocumentWithType(value: Partial<SanityDocument> | null): value is Partial<SanityDocument> & {
_type: SanityDocument['_type'];
};
//# sourceMappingURL=helpers.d.ts.map