81d8aa5a110a1e5411dab6b547b44d2bad4a11dc8d8f19ab5c9275f822087bce87e47ea5749b0070a33a618e8bcff6d5b2315971f21c1cf07c36feaa4e1a18 1012 B

1234567891011121314151617
  1. import type { ComputedRef, RendererNode, Slots } from 'vue';
  2. import type { TableColumn, TableColumnCtx } from './defaults';
  3. import type { DefaultRow, Table } from '../table/defaults';
  4. declare function useRender<T extends DefaultRow>(props: TableColumnCtx<T>, slots: Slots, owner: ComputedRef<Table<T>>): {
  5. columnId: import("vue").Ref<string>;
  6. realAlign: import("vue").Ref<string | null | undefined>;
  7. isSubColumn: import("vue").Ref<boolean>;
  8. realHeaderAlign: import("vue").Ref<string | null | undefined>;
  9. columnOrTableParent: ComputedRef<Table<T> | TableColumn<T>>;
  10. setColumnWidth: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
  11. setColumnForcedProps: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
  12. setColumnRenders: (column: TableColumnCtx<T>) => TableColumnCtx<T>;
  13. getPropsData: (...propsKey: string[][]) => Record<string, any>;
  14. getColumnElIndex: (children: T[], child: RendererNode | null) => number;
  15. updateColumnOrder: () => void;
  16. };
  17. export default useRender;