interface FilesArgs { basedir: string; webAuthn: boolean; } /** * Get the api side file paths and file contents to write * * Example return value: * ```json * { * "/Users/tobbe/dev/rw-app/api/src/lib/auth.ts": "", * "/Users/tobbe/dev/rw-app/api/src/lib/helperFunctions.ts": "", * "/Users/tobbe/dev/rw-app/api/src/functions/auth.ts": "" * } * ``` */ export declare const apiSideFiles: ({ basedir, webAuthn }: FilesArgs) => Promise>; /** * Loops through the keys in `filesRecord` and generates unique file paths if * they conflict with existing files * * Given this input: * ```json * { * "/Users/tobbe/dev/rw-app/api/src/lib/auth.ts": "", * "/Users/tobbe/dev/rw-app/api/src/lib/helperFunctions.ts": "", * "/Users/tobbe/dev/rw-app/api/src/lib/supertokens.ts": "", * "/Users/tobbe/dev/rw-app/api/src/functions/auth.ts": "" * } * ``` * * You could get this output, depending on what existing files there are * ```json * { * "/Users/tobbe/dev/rw-app/api/src/lib/supertokensAuth3.ts": "", * "/Users/tobbe/dev/rw-app/api/src/lib/supertokensHelperFunctions.ts": "", * "/Users/tobbe/dev/rw-app/api/src/lib/supertokens2.ts": "", * "/Users/tobbe/dev/rw-app/api/src/functions/auth.ts": "" * } * ``` */ export declare function generateUniqueFileNames(filesRecord: Record, provider: string): Record; export {}; //# sourceMappingURL=authFiles.d.ts.map