import { channel, log, project } from '@synnaxlabs/client'; import { Flux } from '../flux'; export type UseDeleteParams = log.Key | log.Key[]; export type RetrieveQuery = log.RetrieveSingleParams; export declare const use: Flux.Use<{ key: string; }, log.Log>, useEnsure: Flux.UseEnsure<{ key: string; }>, useTombstone: Flux.UseTombstone<{ key: string; }>, createSelector: Flux.CreateSelector<{ key: string; }, log.Log>; export interface KeyParams { key: log.Key; } export declare const useName: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => string; export declare const useChannels: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; export declare const useChannelKeys: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => number[]; export interface ChannelEntryParams extends KeyParams { channel: channel.Key; } export declare const useChannelEntry: (arg: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional) => log.ChannelEntry | null; export declare const useTimestampPrecision: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => number; export declare const useIsHidingChannelNames: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => boolean; export declare const useIsHidingReceiptTimestamp: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => boolean; export declare const useDispatch: () => Flux.UseDispatchReturn, useUndoBase: (params: { key: string; }) => Flux.UseUndoReturn, useRedoBase: (params: import('@synnaxlabs/x/dist/src/record/record.js').Keyed) => Flux.UseRedoReturn, useSingleDispatchBase: (params: import('@synnaxlabs/x/dist/src/record/record.js').Keyed) => (action: { type: "create"; create: { log: { key: string; name: string; channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; timestampPrecision: number; channelNamesHidden: boolean; receiptTimestampHidden: boolean; }; }; } | { type: "rename"; rename: { name: string; }; } | { type: "add_channel"; addChannel: { channel: number; }; } | { type: "remove_channel"; removeChannel: { channel: number; }; } | { type: "set_channel_entry"; setChannelEntry: { entry: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }; }; } | { type: "set_channel_color"; setChannelColor: { channel: number; color: [number, number, number, number]; }; } | { type: "set_channel_notation"; setChannelNotation: { channel: number; notation: "scientific" | "engineering" | "standard"; }; } | { type: "set_channel_precision"; setChannelPrecision: { channel: number; precision: number; }; } | { type: "set_channel_alias"; setChannelAlias: { channel: number; alias: string; }; } | { type: "set_channel_timestamp_format"; setChannelTimestampFormat: { channel: number; format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; }; } | { type: "set_channel_timestamp_tz"; setChannelTimestampTz: { channel: number; tz: "local" | "UTC"; }; } | { type: "set_channels"; setChannels: { channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; }; } | { type: "swap_channel"; swapChannel: { from: number; to: number; }; } | { type: "set_timestamp_precision"; setTimestampPrecision: { timestampPrecision: number; }; } | { type: "set_channel_names_hidden"; setChannelNamesHidden: { channelNamesHidden: boolean; }; } | { type: "set_receipt_timestamp_hidden"; setReceiptTimestampHidden: { receiptTimestampHidden: boolean; }; } | ({ type: "create"; create: { log: { key: string; name: string; channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; timestampPrecision: number; channelNamesHidden: boolean; receiptTimestampHidden: boolean; }; }; } | { type: "rename"; rename: { name: string; }; } | { type: "add_channel"; addChannel: { channel: number; }; } | { type: "remove_channel"; removeChannel: { channel: number; }; } | { type: "set_channel_entry"; setChannelEntry: { entry: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }; }; } | { type: "set_channel_color"; setChannelColor: { channel: number; color: [number, number, number, number]; }; } | { type: "set_channel_notation"; setChannelNotation: { channel: number; notation: "scientific" | "engineering" | "standard"; }; } | { type: "set_channel_precision"; setChannelPrecision: { channel: number; precision: number; }; } | { type: "set_channel_alias"; setChannelAlias: { channel: number; alias: string; }; } | { type: "set_channel_timestamp_format"; setChannelTimestampFormat: { channel: number; format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; }; } | { type: "set_channel_timestamp_tz"; setChannelTimestampTz: { channel: number; tz: "local" | "UTC"; }; } | { type: "set_channels"; setChannels: { channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; }; } | { type: "swap_channel"; swapChannel: { from: number; to: number; }; } | { type: "set_timestamp_precision"; setTimestampPrecision: { timestampPrecision: number; }; } | { type: "set_channel_names_hidden"; setChannelNamesHidden: { channelNamesHidden: boolean; }; } | { type: "set_receipt_timestamp_hidden"; setReceiptTimestampHidden: { receiptTimestampHidden: boolean; }; })[]) => void; export declare const useSingleDispatch: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional, "key"> | undefined) => (action: { type: "create"; create: { log: { key: string; name: string; channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; timestampPrecision: number; channelNamesHidden: boolean; receiptTimestampHidden: boolean; }; }; } | { type: "rename"; rename: { name: string; }; } | { type: "add_channel"; addChannel: { channel: number; }; } | { type: "remove_channel"; removeChannel: { channel: number; }; } | { type: "set_channel_entry"; setChannelEntry: { entry: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }; }; } | { type: "set_channel_color"; setChannelColor: { channel: number; color: [number, number, number, number]; }; } | { type: "set_channel_notation"; setChannelNotation: { channel: number; notation: "scientific" | "engineering" | "standard"; }; } | { type: "set_channel_precision"; setChannelPrecision: { channel: number; precision: number; }; } | { type: "set_channel_alias"; setChannelAlias: { channel: number; alias: string; }; } | { type: "set_channel_timestamp_format"; setChannelTimestampFormat: { channel: number; format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; }; } | { type: "set_channel_timestamp_tz"; setChannelTimestampTz: { channel: number; tz: "local" | "UTC"; }; } | { type: "set_channels"; setChannels: { channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; }; } | { type: "swap_channel"; swapChannel: { from: number; to: number; }; } | { type: "set_timestamp_precision"; setTimestampPrecision: { timestampPrecision: number; }; } | { type: "set_channel_names_hidden"; setChannelNamesHidden: { channelNamesHidden: boolean; }; } | { type: "set_receipt_timestamp_hidden"; setReceiptTimestampHidden: { receiptTimestampHidden: boolean; }; } | ({ type: "create"; create: { log: { key: string; name: string; channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; timestampPrecision: number; channelNamesHidden: boolean; receiptTimestampHidden: boolean; }; }; } | { type: "rename"; rename: { name: string; }; } | { type: "add_channel"; addChannel: { channel: number; }; } | { type: "remove_channel"; removeChannel: { channel: number; }; } | { type: "set_channel_entry"; setChannelEntry: { entry: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }; }; } | { type: "set_channel_color"; setChannelColor: { channel: number; color: [number, number, number, number]; }; } | { type: "set_channel_notation"; setChannelNotation: { channel: number; notation: "scientific" | "engineering" | "standard"; }; } | { type: "set_channel_precision"; setChannelPrecision: { channel: number; precision: number; }; } | { type: "set_channel_alias"; setChannelAlias: { channel: number; alias: string; }; } | { type: "set_channel_timestamp_format"; setChannelTimestampFormat: { channel: number; format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; }; } | { type: "set_channel_timestamp_tz"; setChannelTimestampTz: { channel: number; tz: "local" | "UTC"; }; } | { type: "set_channels"; setChannels: { channels: { channel: number; color: [number, number, number, number]; notation: "scientific" | "engineering" | "standard"; precision: number; alias: string; timestamp: { format: "date" | "time" | "dateTime" | "ISO" | "ISODate" | "preciseTime" | "preciseDate"; tz: "local" | "UTC"; }; }[]; }; } | { type: "swap_channel"; swapChannel: { from: number; to: number; }; } | { type: "set_timestamp_precision"; setTimestampPrecision: { timestampPrecision: number; }; } | { type: "set_channel_names_hidden"; setChannelNamesHidden: { channelNamesHidden: boolean; }; } | { type: "set_receipt_timestamp_hidden"; setReceiptTimestampHidden: { receiptTimestampHidden: boolean; }; })[]) => void; export declare const useUndo: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional<{ key: string; }, "key"> | undefined) => Flux.UseUndoReturn; export declare const useRedo: (arg?: import('@synnaxlabs/x/dist/src/optional/optional.js').Optional, "key"> | undefined) => Flux.UseRedoReturn; export declare const useDelete: Flux.UseUpdate; export interface CreateParams extends log.New { project?: project.Key; } export declare const useCreate: Flux.UseUpdate; export interface RenameParams extends Pick { } export declare const useRename: Flux.UseUpdate; //# sourceMappingURL=queries.d.ts.map