import type { PendingSessionOptions, ShowWhenCondition } from '@clerk/shared/types'; import React from 'react'; export type AppRouterShowProps = React.PropsWithChildren; /** * Use `` to render children when an authorization or sign-in condition passes. * When `treatPendingAsSignedOut` is true, pending sessions are treated as signed out. * Renders the provided `fallback` (or `null`) when the condition fails. * * The `when` prop supports: * - `"signed-in"` or `"signed-out"` shorthands * - Authorization objects such as `{ permission: "..." }`, `{ role: "..." }`, `{ feature: "..." }`, or `{ plan: "..." }` * - Predicate functions `(has) => boolean` that receive the `has` helper * * @example * ```tsx * Unauthorized

}> * *
* * * * * * has({ permission: "org:read" }) && isFeatureEnabled}> * * * * * * * ``` */ export declare function Show(props: AppRouterShowProps): Promise; //# sourceMappingURL=controlComponents.d.ts.map