///
import type { ParsedUrlQuery } from 'querystring';
import { GraphQLClient } from 'graphql-request';
import type { GetStaticPropsResult, GetStaticPropsContext } from 'next';
import { ClientOptions } from './getClient';
declare type SdkFunctionWrapper = (action: () => Promise) => Promise;
declare type GetSdk = (client: GraphQLClient, withWrapper?: SdkFunctionWrapper) => T;
declare type GetStaticPropsWithSdk = (context: GetStaticPropsContext & {
sdk: R;
}) => Promise>;
export declare const getStaticPropsWithSdk: (getSdk: GetSdk, client: GraphQLClient, storyblokToken?: string, additionalClientOptions?: ClientOptions['additionalOptions']) => (getStaticProps: GetStaticPropsWithSdk) => (context: GetStaticPropsContext) => Promise<{
props: any;
redirect: import("next").Redirect;
revalidate?: number | boolean;
} | {
props: any;
notFound: true;
} | {
props: any;
revalidate?: number | boolean;
}>;
export {};