import type { ContextHaving } from '../../../framework-types/execution-context/Types'; import type { EmptyObject } from '../../Types'; import type { RingBufferAtom } from '../core/state/RingBufferAtom'; import type { CoreStateAtoms } from '../core/Types'; import { CoreExportNames } from '../core/Types'; import type { ContextWithState } from '../Types'; type WishDataAtomContext = ContextHaving<{ [CoreExportNames.CoreStateAtoms]: CoreStateAtoms; }, EmptyObject, ContextWithState>; interface WishData { weights: [number, number, number]; selectedQualityHistory: RingBufferAtom; } declare function setWeights(data: WishData, weights: WishData['weights']): boolean; declare function updateHistory(data: WishData, selectedQuality: number): boolean; export type WishDataAtom = ReturnType; export declare function createWishDataAtom(context: WishDataAtomContext): import("../core/state/Types").StateAtom; export {};