UNPKG

starchild-widget

Version:

Starchild Widget

13 lines 556 B
export type CopyMode = 'element' | 'raw' | 'custom'; export interface UseCopyContentOptions { mode?: CopyMode; customProcessor?: (content: string) => string; maxDescriptionLength?: number; } export default function useCopyContent(options?: UseCopyContentOptions): { copyContent: (contentOrElement: string | HTMLElement) => string; copyFromElement: (element: HTMLElement) => string; copyRawContent: (content: string) => string; copyWithCustomProcessor: (content: string) => string; }; //# sourceMappingURL=useCopyContent.d.ts.map