type LoaderFunctionArgs = { request: Record; context: Record; } & any; type RowndLoaderResponse = { access_token: string; is_authenticated: true; user_id: string; }; export declare const withRowndLoader: (loader: (args: LoaderFunctionArgs, rowndResponse: RowndLoaderResponse) => Promise, options?: { onUnauthenticated?: ((args: LoaderFunctionArgs) => void) | undefined; }) => (args: LoaderFunctionArgs) => Promise; export {};