import { ColumnValueOption } from '@platforma-sdk/model'; import { ComputedRef } from 'vue'; import { PlColumnValueSettings } from './settings'; /** The options of a value picker, read as its settings say. */ export type ColumnValueOptions = { /** * The options as a picker takes them: `undefined`, shown as loading, until they are read; none * once the column is gone or cannot be read, so that its picks stay picked and are shown as not * available. */ readonly options: ComputedRef; /** Why the column offers no options: it is gone, or its values cannot be read. */ readonly error: ComputedRef; }; /** * Reads the options of a value picker through the frame its `settings` hold. A read made for * earlier settings is dropped. Called from `setup`. */ export declare function useColumnValueOptions(settings: () => PlColumnValueSettings): ColumnValueOptions; //# sourceMappingURL=useColumnValueOptions.d.ts.map