@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
20 lines • 703 B
TypeScript
import { DeviceModelId } from "@ledgerhq/types-devices";
type StartPostOnboardingOptions = {
deviceModelId: DeviceModelId;
mock?: boolean;
fallbackIfNoAction?: () => void;
resetNavigationStack?: boolean;
};
/**
* Use this to initialize AND navigate to the post onboarding hub for a given
* device model.
*
* @param deviceModelId
* @returns a function that can be called to initialize the post
* onboarding for the given device model and navigate to the post onboarding
* hub.
* TODO: unit test this
*/
export declare function useStartPostOnboardingCallback(): (options: StartPostOnboardingOptions) => void;
export {};
//# sourceMappingURL=useStartPostOnboardingCallback.d.ts.map