import { SerializableProperty } from '../serializers'; import { SerializablePagination } from '../serializers/pagination'; export type PropertiesState = { results: SerializableProperty[]; setPropertiesResults: (properties: SerializableProperty[]) => void; previousResults: SerializableProperty[]; setPreviousPropertiesResults: (properties: SerializableProperty[]) => void; pagination: SerializablePagination | null; setPropertiesPagination: (pagination: SerializablePagination) => void; savedProperties: number[]; setSavedProperties: (savedProperties: number[]) => void; addSavedProperty: ({ propertyId, local, }: { propertyId: number; local?: boolean; }) => Promise; removeSavedProperty: ({ propertyId, local, }: { propertyId: number; local?: boolean; }) => Promise; }; declare const PropertiesContext: import("react").Context; export default PropertiesContext; //# sourceMappingURL=properties-context.d.ts.map