@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
24 lines (23 loc) • 944 B
TypeScript
import type { AuthStore } from '@fleek-platform/login-button';
type UserProfile = {
username?: string;
avatar?: string;
};
interface UserStore {
authStoreInstance?: AuthStore;
userProfile?: UserProfile;
setAuthStoreInstance: (authStore: AuthStore) => void;
triggerLogin: () => void;
}
export declare const useUserStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<UserStore>, "persist"> & {
persist: {
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<UserStore, unknown>>) => void;
clearStorage: () => void;
rehydrate: () => Promise<void> | void;
hasHydrated: () => boolean;
onHydrate: (fn: (state: UserStore) => void) => () => void;
onFinishHydration: (fn: (state: UserStore) => void) => () => void;
getOptions: () => Partial<import("zustand/middleware").PersistOptions<UserStore, unknown>>;
};
}>;
export {};