import type { Outcome } from '../types/outcome.type'; import type { ShareWire } from '../types/share.type'; import { type ShareModel } from '../utils/share.util'; export type UseShareResult = { outcome: Outcome; /** One color token per drawn part, in drawn order, from the page's label colors. */ colors: string[]; retry: () => void; }; /** * Behaviour of `v2.share`: loads the wire's data source and derives the parts * the view draws (sorted, «Otros», percentages). No JSX. */ export declare const useShare: (wire: ShareWire, userFlow: string) => UseShareResult;