import type { Identity } from '@astrale-os/sdk/auth'; import type { KernelClient } from '@astrale-os/shell'; import type { ReactElement, ReactNode } from 'react'; export type NodeValue = Identity; export type SessionView = KernelClient; export interface IdentityBinding { readonly kernel: KernelClient; readonly self: Identity; } export declare const IdentityContext: import("react").Context; export declare function useIdentityBinding(): IdentityBinding; export interface ActAsProps { /** * A separately authenticated Kernel capability. Raw credentials are deliberately not accepted; * construct the delegated Client Session at the trust boundary that owns credential resolution. */ readonly client: KernelClient; readonly fallback?: ReactNode; readonly children: ReactNode; } /** Bind a subtree to an explicitly supplied authenticated Kernel capability. */ export declare function ActAs({ client, fallback, children }: ActAsProps): ReactElement | null; //# sourceMappingURL=act-as.context.d.ts.map