import { BlockColumnLinks } from '@platforma-sdk/model'; import { FunctionalComponent } from 'vue'; /** * How a picker shows a selected column or column value missing from its options, by the column * links of the block: the text in its place and the tooltip over it, `undefined` where the links * tell nothing about the value. */ export type ColumnLinksMissingValue = { label: (value: unknown) => string | undefined; tooltip: (value: unknown) => FunctionalComponent | undefined; }; /** * How the pickers of the block show a missing value, by the column links the app computes for * it; `undefined` outside a block. Called from `setup`. */ export declare function useColumnLinksMissingValue(): ColumnLinksMissingValue | undefined; /** * How a picker shows a missing value by the column links `readLinks` gives. The text is * the picked value or the label of the column selected as a whole: alone while it waits for the * other inputs of the block, marked as not available otherwise. The tooltip names the block meant * to provide it, as a link to that block, and what went wrong; or that it waits for the other * inputs. */ export declare function columnLinksMissingValue(readLinks: () => Pick | undefined): ColumnLinksMissingValue; //# sourceMappingURL=columnLinksMissingValue.d.ts.map