import type { CreateBackendApiOptions, Organization, Session, User } from '../api'; import type { AuthObject } from '../tokens/authObjects'; type DecorateAuthWithResourcesOptions = { loadSession?: boolean; loadUser?: boolean; loadOrganization?: boolean; }; type WithResources = T & { session?: Session | null; user?: User | null; organization?: Organization | null; }; /** * @internal */ export declare const decorateObjectWithResources: (obj: T, authObj: AuthObject, opts: CreateBackendApiOptions & DecorateAuthWithResourcesOptions) => Promise>; /** * @internal */ export declare function stripPrivateDataFromObject>(authObject: T): T; export {}; //# sourceMappingURL=decorateObjectWithResources.d.ts.map